hasListeners property
If a listener has been added using addListener
and hasn't been removed yet.
Implementation
bool get hasListeners {
assert(_debugIsMounted(), '');
return _listeners.isNotEmpty;
}
If a listener has been added using addListener
and hasn't been removed yet.
bool get hasListeners {
assert(_debugIsMounted(), '');
return _listeners.isNotEmpty;
}