hasListener property

  1. @override
bool get hasListener
override

Whether there is a subscriber on the Stream.

Implementation

@override
bool get hasListener {
  return _streamController != null ? _streamController!.hasListener : false;
}