ServiceWorkerApi class Null safety

Constructors

ServiceWorkerApi(Client _client)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onWorkerErrorReported Stream<ServiceWorkerErrorMessage>
read-only
onWorkerRegistrationUpdated Stream<List<ServiceWorkerRegistration>>
read-only
onWorkerVersionUpdated Stream<List<ServiceWorkerVersion>>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

deliverPushMessage(String origin, RegistrationID registrationId, String data) Future<void>
disable() Future<void>
dispatchPeriodicSyncEvent(String origin, RegistrationID registrationId, String tag) Future<void>
dispatchSyncEvent(String origin, RegistrationID registrationId, String tag, bool lastChance) Future<void>
enable() Future<void>
inspectWorker(String versionId) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setForceUpdateOnPageLoad(bool forceUpdateOnPageLoad) Future<void>
skipWaiting(String scopeURL) Future<void>
startWorker(String scopeURL) Future<void>
stopAllWorkers() Future<void>
stopWorker(String versionId) Future<void>
toString() String
A string representation of this object.
inherited
unregister(String scopeURL) Future<void>
updateRegistration(String scopeURL) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited