getAllAsFlow

open fun getAllAsFlow(userId: String): Flow<List<Device>>