BackgroundServiceEvent constructor

BackgroundServiceEvent({
  1. required TimeSinceEpoch timestamp,
  2. required String origin,
  3. required RegistrationID serviceWorkerRegistrationId,
  4. required ServiceName service,
  5. required String eventName,
  6. required String instanceId,
  7. required List<EventMetadata> eventMetadata,
  8. required String storageKey,
})

Implementation

BackgroundServiceEvent(
    {required this.timestamp,
    required this.origin,
    required this.serviceWorkerRegistrationId,
    required this.service,
    required this.eventName,
    required this.instanceId,
    required this.eventMetadata,
    required this.storageKey});