state

fun Flow<Device?>.state(): Flow<DeviceState>

Gets a (Flow of) DeviceState from a Flow or Device

Return

the Flow of DeviceState associated with the Device in the given Flow