hasSubscribers property

bool get hasSubscribers
inherited

Returns true if there is at least one active listener.

Implementation

bool get hasSubscribers => hasListeners;