DownloadManager constructor

DownloadManager([
  1. int maxConcurrentDownloads = MAX_ISOLATE_POOL_SIZE
])

Constructs a DownloadIsolateManager with an optional maximum number of concurrent downloads.

Implementation

DownloadManager([int maxConcurrentDownloads = MAX_ISOLATE_POOL_SIZE]) {
  _isolatePool = DownloadIsolatePool(poolSize: maxConcurrentDownloads);
}