serviceWorkerRegistration top-level property

dynamic get serviceWorkerRegistration

This ServiceWorker API interface represents the service worker registration. You register a service worker to control one or more pages that share the same origin. Available only in secure contexts.

MDN Reference

Implementation

_i2.dynamic get serviceWorkerRegistration => _i4.getProperty(
      _self,
      'ServiceWorkerRegistration',
    );