hasObservers property Null safety

bool hasObservers

Implementation

bool get hasObservers => _observers.isNotEmpty;