TaskContext class final
What a running Task can do with its line.
Properties
Methods
-
log(
String line) → void -
Adds
lineto the task's output. While it runs, the last line shows dim under the task; a failed task shows its output. In plain mode each line is printed at once, prefixed with the task's title. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
skip(
[String? reason]) → Never -
Ends the task as skipped, with an optional
reason. It throws, so nothing after it runs. -
tasks(
List< Task> tasks, {int concurrency = 1}) → Future<void> -
Runs
tasksas nested steps under this one, indented. A succeeded task with steps collapses to one line. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited