Client class

The interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get /WindowClient objects from methods such as Clients.matchAll() and Clients.get().

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

Constructors

Client()
factory

Properties

frameType FrameType

Available on Client, provided by the PropsClient extension

no setter
hashCode int
The hash code for this object.
no setterinherited
id String

Available on Client, provided by the PropsClient extension

no setter
lifecycleState ClientLifecycleState

Available on Client, provided by the PropsClient extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ClientType

Available on Client, provided by the PropsClient extension

no setter
url String

Available on Client, provided by the PropsClient extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postMessage(dynamic message, Iterable transfer) → void

Available on Client, provided by the PropsClient extension

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

Operators

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