CommandStep class

A step that runs a single command and fails when the command exits with a non-zero code

Inheritance

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_command of a platform
factory

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 clean or iOS
finalinherited
redactions → List<String>
The values replaced by REDACTED in the terminal and in the log file
final
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