RunInTerminalRequestArguments class

Arguments for runInTerminal request.

Inheritance

Constructors

RunInTerminalRequestArguments({required List<String> args, bool? argsCanBeInterpretedByShell, required String cwd, Map<String, Object?>? env, String? kind, String? title})
RunInTerminalRequestArguments.fromMap(Map<String, Object?> obj)

Properties

args List<String>
List of arguments. The first argument is the command to run.
final
argsCanBeInterpretedByShell bool?
This property should only be set if the corresponding capability supportsArgsCanBeInterpretedByShell is true. If the client uses an intermediary shell to launch the application, then the client must not attempt to escape characters with special meanings for the shell. The user is fully responsible for escaping as needed and that arguments using special characters may not be portable across shells.
final
cwd String
Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command.
final
env Map<String, Object?>?
Environment key-value pairs that are added to or removed from the default environment.
final
hashCode int
The hash code for this object.
no setterinherited
kind String?
What kind of terminal to launch. Defaults to integrated if not specified.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Title of the terminal.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

canParse(Object? obj) bool
override
fromJson(Map<String, Object?> obj) RunInTerminalRequestArguments