hasObservers property
bool
get
hasObservers
Whether the state has listeners or not
Implementation
bool get hasObservers =>
_listeners.isNotEmpty || _dependentListeners.isNotEmpty;
Whether the state has listeners or not
bool get hasObservers =>
_listeners.isNotEmpty || _dependentListeners.isNotEmpty;