EnvironmentVariableCollection class

A collection of mutations that an extension can apply to a process environment.

Implemented types
Implementers
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

EnvironmentVariableCollection({bool? persistent, dynamic description, void replace(String, String, [EnvironmentVariableMutatorOptions?])?, void append(String, String, [EnvironmentVariableMutatorOptions?])?, void prepend(String, String, [EnvironmentVariableMutatorOptions?])?, EnvironmentVariableMutator? get(String)?, void forEach(dynamic (String, EnvironmentVariableMutator, EnvironmentVariableCollection), [dynamic])?, void delete(String)?, void clear()?})
factory

Properties

append ↔ void Function(String, String, [EnvironmentVariableMutatorOptions?])

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
clear ↔ void Function()

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
delete ↔ void Function(String)

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
description ↔ dynamic

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

A description for the environment variable collection, this will be used to describe the changes in the UI.
getter/setter pair
forEach ↔ void Function(dynamic (String, EnvironmentVariableMutator, EnvironmentVariableCollection), [dynamic])

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
get EnvironmentVariableMutator? Function(String)

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
persistent bool

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

Whether the collection should be cached for the workspace and applied to the terminal across window reloads. When true the collection will be active immediately such when the window reloads. Additionally, this API will return the cached version if it exists. The collection will be invalidated when the extension is uninstalled or when the collection is cleared. Defaults to true.
getter/setter pair
prepend ↔ void Function(String, String, [EnvironmentVariableMutatorOptions?])

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
replace ↔ void Function(String, String, [EnvironmentVariableMutatorOptions?])

Available on EnvironmentVariableCollection, provided by the EnvironmentVariableCollection$Typings extension

getter/setter pair
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