notifyAllListeners method
Notifies every active update, event, and change listener, as well as the onUpdate, onEvent, and onChange parameters of an event affecting a single element.
Implementation
void notifyAllListeners(CollectionEventType type, K? key, V? value) {
if (hasChangeEvent) {
notifyChangeListeners(
CollectionChangeEvent(type, key, value),
);
}
if (hasEvent) {
notifyEventListeners(CollectionEvent(type, <K?, V?>{key: value}));
}
if (hasUpdate) {
notifyListeners(this.value);
}
}