Clients class

The interface provides access to Client objects. Access it via [self.clients] within a service worker.

Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

Clients()
factory

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() Future<void>

Available on Clients, provided by the PropsClients extension

get(String id) → dynamic

Available on Clients, provided by the PropsClients extension

matchAll([ClientQueryOptions? options]) Future<Iterable<Client>>

Available on Clients, provided by the PropsClients extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openWindow(String url) Future<WindowClient>

Available on Clients, provided by the PropsClients extension

toString() String
A string representation of this object.
inherited

Operators

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