ExtensionContext constructor
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()?,
Implementation
factory ExtensionContext({
_i2.List<_i3.IInline32>? subscriptions,
_i3.Memento? workspaceState,
_Intersection61? globalState,
_i3.SecretStorage? secrets,
_i3.Uri? extensionUri,
_i2.String? extensionPath,
_i3.GlobalEnvironmentVariableCollection? environmentVariableCollection,
_i3.Uri? storageUri,
_i2.String? storagePath,
_i3.Uri? globalStorageUri,
_i2.String? globalStoragePath,
_i3.Uri? logUri,
_i2.String? logPath,
_i3.ExtensionMode? extensionMode,
_i3.Extension<_i2.dynamic>? extension,
_i2.String Function(_i2.String)? asAbsolutePath,
}) =>
ExtensionContext._(
subscriptions: subscriptions,
workspaceState: workspaceState ?? _i6.undefined,
globalState: globalState ?? _i6.undefined,
secrets: secrets ?? _i6.undefined,
extensionUri: extensionUri ?? _i6.undefined,
extensionPath: extensionPath,
environmentVariableCollection:
environmentVariableCollection ?? _i6.undefined,
storageUri: storageUri ?? _i6.undefined,
storagePath: storagePath ?? _i6.undefined,
globalStorageUri: globalStorageUri ?? _i6.undefined,
globalStoragePath: globalStoragePath,
logUri: logUri ?? _i6.undefined,
logPath: logPath,
extensionMode: extensionMode?.name,
extension: extension ?? _i6.undefined,
asAbsolutePath:
asAbsolutePath == null ? null : _i5.allowInterop(asAbsolutePath),
);