addTask method
Add the task to this protocol.
A task with the same name replaces the earlier one in the task lookup.
Implementation
void addTask(TaskConfiguration task) {
tasks.add(task);
_taskMap[task.name] = task;
}
Add the task to this protocol.
A task with the same name replaces the earlier one in the task lookup.
void addTask(TaskConfiguration task) {
tasks.add(task);
_taskMap[task.name] = task;
}