getStateStream method

Stream<ConnectionStateChange>? getStateStream(
  1. TransportConn connection
)
override

Gets the stream of state changes for a connection

Implementation

Stream<ConnectionStateChange>? getStateStream(TransportConn connection) {
  return _stateControllers[connection]?.stream;
}