ServiceWorkerContainer$Typings extension

on

Properties

addEventListener → ({void Function<K$>(ServiceWorkerContainerEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
controller ServiceWorker?
MDN Reference
no setter
getRegistration Future<ServiceWorkerRegistration?> Function([Object?])
getter/setter pair
getRegistrations Future<ReadonlyArray<ServiceWorkerRegistration>> Function()
getter/setter pair
oncontrollerchange ↔ dynamic Function(Event)?
MDN Reference
getter/setter pair
onmessage ↔ dynamic Function(MessageEvent)?
MDN Reference
getter/setter pair
onmessageerror ↔ dynamic Function(MessageEvent)?
getter/setter pair
ready Future<ServiceWorkerRegistration>
MDN Reference
no setter
register Future<ServiceWorkerRegistration> Function(Object, [RegistrationOptions?])
getter/setter pair
removeEventListener → ({void Function<K$>(ServiceWorkerContainerEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
Overload accessor: $1, $2
no setter
startMessages ↔ void Function()
getter/setter pair