ServiceWorkerVersion constructor

ServiceWorkerVersion({
  1. required String versionId,
  2. required RegistrationID registrationId,
  3. required String scriptURL,
  4. required ServiceWorkerVersionRunningStatus runningStatus,
  5. required ServiceWorkerVersionStatus status,
  6. num? scriptLastModified,
  7. num? scriptResponseTime,
  8. List<TargetID>? controlledClients,
  9. TargetID? targetId,
  10. String? routerRules,
})

Implementation

ServiceWorkerVersion({
  required this.versionId,
  required this.registrationId,
  required this.scriptURL,
  required this.runningStatus,
  required this.status,
  this.scriptLastModified,
  this.scriptResponseTime,
  this.controlledClients,
  this.targetId,
  this.routerRules,
});