CommandResult class
The exit code and the output of a command that has run to completion
Constructors
-
CommandResult({required int exitCode, required List<
String> output}) -
const
Properties
- exitCode → int
-
The exit code of the command. Anything but
0means that the command has failedfinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
output
→ List<
String> -
The stdout and stderr of the command, merged and split into lines
final
- 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