state

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

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

Return

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