notify method
Implementation
@protected
void notify() {
if (_targetVersion == _currentVersion) {
_targetVersion++;
scheduleMicrotask(() {
_targetVersion = ++_currentVersion;
_listeners.toList().forEach((fn) => fn());
});
}
}