ExtensionContext class
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