RegistrationOptions constructor

RegistrationOptions({
  1. String? scope,
  2. WorkerType? type,
  3. ServiceWorkerUpdateViaCache? updateViaCache,
})

Implementation

factory RegistrationOptions({
  _i2.String? scope,
  _i3.WorkerType? type,
  _i3.ServiceWorkerUpdateViaCache? updateViaCache,
}) =>
    RegistrationOptions._(
      scope: scope,
      type: type?.name ?? _i6.undefined,
      updateViaCache: updateViaCache?.name ?? _i6.undefined,
    );