addTask method

void addTask(
  1. TaskConfiguration task
)
inherited

Add the task to this protocol.

Implementation

void addTask(TaskConfiguration task) {
  tasks.add(task);
  _taskMap[task.name] = task;
}