WindowClient class

Inheritance

Properties

focused bool?
A boolean that indicates whether the current client has focus.
no setter
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 setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
Returns the id of the Client object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
The URL of the current service worker client.
no setterinherited
visibilityState String?
Indicates the visibility of the current client. This value can be one of hidden, visible, prerender, or unloaded.
no setter

Methods

focus() Future<void>
Gives user input focus to the current client.
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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