resumeTask method

Future<DownloadTask> resumeTask(
  1. DownloadTask task
)

Resumes a paused or new task by binding it to an available isolate.

Implementation

Future<DownloadTask> resumeTask(DownloadTask task) async {
  await _resumeIsolateWithTask(task);
  return task;
}