eventStream property

EventStream<T>? get eventStream

Returns the main EventStream.

Implementation

EventStream<T>? get eventStream {
  if (_eventStream == null) {
    _eventStream =
        _eventStreamProvider != null ? _eventStreamProvider() : null;
    if (_eventStream != null) {
      flush();
    }
  }
  return _eventStream;
}
set eventStream (EventStream<T>? value)

Sets the main EventStream.

Implementation

set eventStream(EventStream<T>? value) {
  if (_eventStream != value) {
    _eventStream = value;
    if (_eventStream != null) {
      flush();
    }
  }
}