cancelTasks method

void cancelTasks()

Implementation

void cancelTasks() {
  _taskList.clear();
  _currentTask = null;
}