stream property

Stream<T> stream
override

The stream that this controller is controlling.

Implementation

Stream<T> get stream async* {
  if (value is T) yield value as T;
  await for (final value in _streamController.stream) {
    yield value;
  }
}