hasObservers property Null safety

bool hasObservers
override

Whether changes has at least one active listener.

May be used to optimize whether to produce change records.

Implementation

@override
bool get hasObservers => _changes.hasListener == true;