bool hasListener

Whether there is a subscriber on the Stream.

Source

bool get hasListener => _controller.hasListener;