activeWorker property
ServiceWorker?
activeWorker
Returns the ServiceWorker that is currently actively controlling the page.
Implementation
ServiceWorker? get activeWorker => _activeWorker ??=
ServiceWorker._fromDelegate(_getProperty(_delegate, 'activeWorker'));