cancelDownload method

void cancelDownload()

取消下载

Implementation

void cancelDownload() {
  isDownloading = false;
  _cancelToken.cancel("取消下载");
}