CacheSyncEvent constructor

CacheSyncEvent({
  1. required SyncEventType type,
  2. String? key,
  3. List<String>? keys,
  4. Object? error,
})

Creates a new instance of CacheSyncEvent.

Implementation

CacheSyncEvent({
  required this.type,
  this.key,
  this.keys,
  this.error,
}) : timestamp = DateTime.now();