onControllerChange top-level property

Stream<Event> get onControllerChange

An event handler fired whenever a controllerchange event occurs — when the document's associated ServiceWorkerRegistration acquires a new ServiceWorkerRegistration.active worker.

Implementation

Stream<Event> get onControllerChange => _self!.onControllerChange;