hasSubscribers property

bool get hasSubscribers

Returns true if there is at least one active listener.

Implementation

bool get hasSubscribers => hasListeners;