Clients extension type
@AvailableInWorkers("service")
The Clients
interface provides access to Client objects. Access it via
[ServiceWorkerGlobalScope].clients
within a
service worker.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
claim(
) → JSPromise< JSAny?> - @AvailableInWorkers("service")
-
get(
String id) → JSPromise< Client?> - @AvailableInWorkers("service")
-
matchAll(
[ClientQueryOptions options]) → JSPromise< JSArray< Client> > - @AvailableInWorkers("service")
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openWindow(
String url) → JSPromise< WindowClient?> - @AvailableInWorkers("service")
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited