online

fun Flow<NetworkState>.online(): Flow<Boolean>

Transforms a Flow of NetworkState into a flow indicating the network is considered to be available.

Return

the Flow containing true if the network is considered available