CloseOptions class

Constructors

CloseOptions({int? windowId, int? tabId})
CloseOptions.fromJS(CloseOptions _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tabId ↔ int?
The tab in which to close the side panel. If a tab-specific side panel is open in the specified tab, it will be closed for that tab. If only the global side panel is open, the promise returned by the call to close() will reject with an error. This behavior was changed in Chrome 145, with prior versions falling back to closing the global panel. At least one of this or windowId must be provided.
getter/setter pair
toJS → CloseOptions
no setter
windowId ↔ int?
The window in which to close the side panel. If a global side panel is open in the specified window, it will be closed for all tabs in that window where no tab-specific panel is active. At least one of this or tabId must be provided.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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