hasListener property

bool get hasListener

Whether there is a subscriber to stream or changes.

Implementation

bool get hasListener => _hasStreamListener || _hasChangeListener;