ExtensionContext class
An extension context is a collection of utilities private to an extension.
An instance of an ExtensionContext
is provided as the first
parameter to the activate
-call of an extension.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
ExtensionContext({List<
IInline32> ? subscriptions, Memento? workspaceState, _Intersection61? globalState, SecretStorage? secrets, Uri? extensionUri, String? extensionPath, GlobalEnvironmentVariableCollection? environmentVariableCollection, Uri? storageUri, String? storagePath, Uri? globalStorageUri, String? globalStoragePath, Uri? logUri, String? logPath, ExtensionMode? extensionMode, Extension? extension, String asAbsolutePath(String)?}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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