ServiceWorkerClient class

Represents the scope of a service worker client. A service worker client is either a document in a browser context or a SharedWorker, which is controlled by an active worker.

Implementers

Properties

frameType String?
Indicates the type of browsing context of the current client. This value can be one of auxiliary, top-level, nested, or none.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
Returns the id of the Client object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The URL of the current service worker client.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postMessage(dynamic message, [List? transfer]) → void
Allows a service worker client to send a message to a ServiceWorker. to a port.
toString() String
A string representation of this object.
inherited

Operators

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