ready property
Future<ServiceWorkerRegistration>
get
ready
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 =>
promiseToFuture<Object, ServiceWorkerRegistration>(
_getProperty(_delegate, 'ready'), ServiceWorkerRegistration._);