isOnline

abstract val isOnline: StateFlow<Boolean?>

Emits the current network state. May emit null during initialization when the current state is not known yet.