connectionStateStream property
Stream<ConnectionState>
connectionStateStream
A stream that notifies about changes of the current connection state.
Implementation
Stream<ConnectionState> get connectionStateStream =>
_connectionStateController.stream;