ready top-level property

Defines whether a service worker is ready to control a page or not. It returns a Promise that will never reject, which resolves to a ServiceWorkerRegistration with an ServiceWorkerRegistration.active worker.

Implementation

Future<ServiceWorkerRegistration> get ready => _self!.ready;