ShellContextMemory class

In memory shell context.

Implemented types
Mixed-in types
Available extensions

Constructors

ShellContextMemory()

Properties

encoding Encoding
Default shell encoding (systemEncoding on iOS)
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
path → Context
Path context.
no setterinherited
platform ShellContextPlatform
Platform info
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shellEnvironment ShellEnvironment
Shell environment
final

Methods

close() Future<void>
Close the context
inherited
copyWith({ShellEnvironment? shellEnvironment}) ShellContext

Available on ShellContext, provided by the ShellContextExt extension

Copy with a new shell environment
newShellEnvironment({Map<String, String>? environment}) ShellEnvironment
New shell environment
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runZoned<T>(Future<T> action()) Future<T>

Available on ShellContext, provided by the ShellContextExt extension

Run in a zone,
shell({ShellOptions? options}) Shell
New shell must set itself as a shell Context, shell environement is no longer relevent.
override
toString() String
A string representation of this object.
inherited
which(String command, {ShellEnvironment? environment, bool includeParentEnvironment = true}) Future<String?>
Which command.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited