CommandStep class
A step that runs a single command and fails when the command exits with a non-zero code
Constructors
-
CommandStep(String label, {required String executable, required List<
String> arguments, List<String> redactions = const [], RunCondition runIf = RunCondition.notStopped}) -
CommandStep.fromString(String label, String command, {List<
String> extraArguments = const []}) -
Creates the step from a command written as a single string, such as the
build_commandof a platformfactory
Properties
-
arguments
→ List<
String> -
final
- executable → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The name of the step shown to the user, e.g.
flutter cleanoriOSfinalinherited -
redactions
→ List<
String> -
The values replaced by
REDACTEDin the terminal and in the log filefinal - runIf → RunCondition
-
finalinherited
- 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