cancelTask method

void cancelTask()

Implementation

void cancelTask() {
  _taskList = [];
  _isCancelQueue = true;
  _mId = 0;
  _isTaskRunning = false;
}