onControllerChange top-level property

Stream<Event> 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;