hasListeners property

  1. @protected
bool get hasListeners

Whether the object has listeners.

Implementation

@protected
bool get hasListeners {
  return _count > 0;
}