hasListener property

bool hasListener

Implementation

bool get hasListener => _listeners.isNotEmpty;