CacheSyncEvent.update constructor

CacheSyncEvent.update(
  1. String key
)

Creates a new update event.

Implementation

factory CacheSyncEvent.update(String key) {
  return CacheSyncEvent(
    type: SyncEventType.update,
    key: key,
  );
}