notifyChangeListeners method

void notifyChangeListeners(
  1. CollectionChangeEvent<K, V> event
)

Notifies all subscribed changes listeners of an event.

Implementation

void notifyChangeListeners(CollectionChangeEvent<K, V> event) {
  if (wasDisposed && hasChangeEvent) throw StreamException();
  if (onChange != null) onChange!(event);
  if (hasChangeListener) _changeNotifier.sink.add(event);
}