taskOutputs function
Get the outputs of a Task.
This method can only return the outputs of a Task if its RunCondition
implements FilesCondition, otherwise null
is returned.
Implementation
FileCollection? taskOutputs(Task task) {
switch (task.runCondition) {
case FilesCondition(outputs: var out):
return out;
default:
return null;
}
}