hasListener property

bool get hasListener

Implementation

bool get hasListener => _subscriptions != null && _subscriptions!.isNotEmpty;