ShellCommandInvocation class
Input supplied to a registered shell command.
Constructors
Properties
-
arguments
→ List<
Object?> -
Live objects supplied positionally to the command.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
namedArguments
→ Map<
String, Object?> -
Live arguments keyed by their manifest-defined names.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
argument<
T> (String name) → T - Returns a typed argument declared by the command manifest.
-
argumentList<
T> (String name) → List< T> - Returns a type-checked list argument with its live elements preserved.
-
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