downloadScannerFile method

void downloadScannerFile()

Implementation

void downloadScannerFile() {
  if (model!.state == ScanState.scanStateDownloading) {
    return;
  }
  showLoading(currentContext, "下载中");
  model!.state = ScanState.scanStateDownloading;
  downloadingFile((isSuccess) {});
}