subject property

StreamController<T> get subject
inherited

Implementation

StreamController<T> get subject {
  if (_controller == null) {
    _controller = StreamController<T>.broadcast(
      onCancel: addListener(_streamListener),
    );
    _controller?.add(_value);

    ///TODO: report to controller dispose
  }
  return _controller!;
}