isListening property Null safety

bool isListening

Whether there are any listeners.

Implementation

bool get isListening => _listenerCounter > 0;