CommandTask class
Represents a task to be executed by the task runner
Constructors
-
CommandTask(String name, Future<
void> action(), {bool stopOnError = true}) -
const
Properties
-
action
→ Future<
void> Function() -
The action to execute
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name/description of the task
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stopOnError → bool
-
Whether to stop execution if this task fails
final
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