markAsNotStarted method

void markAsNotStarted()

Marks this Downloading as not started.

Implementation

void markAsNotStarted() {
  Log.debug('markAsNotStarted()', '$runtimeType');

  if (status.value == DownloadStatus.isFinished) {
    status.value = DownloadStatus.notStarted;
    file = null;
  }
}