clear method

void clear()

清除所有任务

Implementation

void clear() {
  _reset();
  _taskList.clear();
}