start method
- @internal
- required int id,
- required String storeName,
- required DownloadableRegion region,
- required StoreDirectory storeDirectory,
Start a recoverable region
Avoid using externally.
Implementation
@internal
Future<void> start({
required int id,
required String storeName,
required DownloadableRegion region,
required StoreDirectory storeDirectory,
}) async {
_downloadsOngoing.add(id);
return encode(
id: id,
storeName: storeName,
region: region,
rootDirectory: _rootDirectory,
);
}