ExtensionContext class

Constructors

ExtensionContext({required ContextType contextType, required String contextId, required int tabId, required int windowId, String? documentId, required int frameId, String? documentUrl, String? documentOrigin, required bool incognito})
ExtensionContext.fromJS(ExtensionContext _wrapped)

Properties

contextId String
A unique identifier for this context
getter/setter pair
contextType ContextType
The type of context this corresponds to.
getter/setter pair
documentId String?
A UUID for the document associated with this context, or undefined if this context is hosted not in a document.
getter/setter pair
documentOrigin String?
The origin of the document associated with this context, or undefined if the context is not hosted in a document.
getter/setter pair
documentUrl String?
The URL of the document associated with this context, or undefined if the context is not hosted in a document.
getter/setter pair
frameId int
The ID of the frame for this context, or -1 if this context is not hosted in a frame.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
incognito bool
Whether the context is associated with an incognito profile.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabId int
The ID of the tab for this context, or -1 if this context is not hosted in a tab.
getter/setter pair
toJS → ExtensionContext
no setter
windowId int
The ID of the window for this context, or -1 if this context is not hosted in a window.
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