getTaskByName method

TaskConfiguration? getTaskByName(
  1. String name
)

Get the task based on its task name in this deployment.

Implementation

TaskConfiguration? getTaskByName(String name) {
  if (_taskMap == null) {
    _taskMap = {};
    for (var task in tasks) {
      _taskMap![task.name] = task;
    }
  }
  return _taskMap![name];
}