hasListeners property

bool get hasListeners
inherited

returns true when the current notifier has subscribers

Implementation

bool get hasListeners => _listeners.isNotEmpty;