CacheSyncEvent constructor
CacheSyncEvent({
- required SyncEventType type,
- String? key,
- List<
String> ? keys, - Object? error,
Creates a new instance of CacheSyncEvent.
Implementation
CacheSyncEvent({
required this.type,
this.key,
this.keys,
this.error,
}) : timestamp = DateTime.now();