hasListeners property Null safety

bool hasListeners

Implementation

bool get hasListeners => _onData!.isNotEmpty;