DownloadManagement constructor
DownloadManagement(
- StoreDirectory storeDirectory
Provides tools to manage bulk downloading to a specific StoreDirectory
Is a singleton to ensure functioning as expected.
Implementation
factory DownloadManagement(StoreDirectory storeDirectory) {
if (!_instances.keys.contains(storeDirectory)) {
_instances[storeDirectory] = DownloadManagement._(storeDirectory);
}
return _instances[storeDirectory]!;
}