addToDownloadQueue method
Add a download request to the download queue.
Returns
- A Completer that completes when the download is done.
Implementation
Future<Completer<void>> addToDownloadQueue(String url, String filePath) async {
var completionLock = await _downloadProcess[_cProcess].addToDownloadQueue(url, filePath);
_cProcess = (_cProcess + 1) % _processCount;
return completionLock;
}