notify method

void notify(
  1. MutationCacheEvent event
)

Sends event to current subscribers.

Implementation

void notify(MutationCacheEvent event) {
  for (final listener in List<void Function(MutationCacheEvent)>.of(
    _listeners,
  )) {
    listener(event);
  }
}