connectionStream property Null safety

Stream<ConnectionEventType> connectionStream

Returns a stream to listen connection events

Implementation

Stream<ConnectionEventType> get connectionStream {
  if (currentUser == null) throw ConnectionRequiredError();
  return _int.streamManager.connection.stream;
}