hasListeners property
bool
get
hasListeners
returns true when the current notifier has subscribers
Implementation
bool get hasListeners => _listeners.isNotEmpty;
returns true when the current notifier has subscribers
bool get hasListeners => _listeners.isNotEmpty;