stream property

  1. @override
Stream<T?> get stream
override

Provides a stream of object values when the reference changes.

Implementation

@override
Stream<T?> get stream {
  if (_streamController == null) {
    _streamController = StreamController<T>.broadcast(sync: true);
  }
  return _streamController!.stream;
}