serviceWorkerContainer top-level property

dynamic get serviceWorkerContainer

The ServiceWorkerContainer interface of the ServiceWorker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations. Available only in secure contexts.

MDN Reference

Implementation

_i2.dynamic get serviceWorkerContainer => _i4.getProperty(
      _self,
      'ServiceWorkerContainer',
    );