addTask method
Add the task to this protocol.
Implementation
void addTask(TaskDescriptor task) {
tasks.add(task);
_taskMap[task.name] = task;
}
Add the task to this protocol.
void addTask(TaskDescriptor task) {
tasks.add(task);
_taskMap[task.name] = task;
}