then method
Adds a sequential task to the chain.
This task will receive the output of the previous step (if any) in TaskContext.previousOutput.
Implementation
TaskChain then(String taskName) {
_steps.add(_RawChainStep.single(taskName));
return this;
}