connectionStream property

Stream<TcpConnectionState> connectionStream

a stream to give visibility to the status of this connection which is helpful whenever the stream is in a connecting or reconnecting state

Implementation

Stream<TcpConnectionState> get connectionStream => _connectionController.stream;