ForegroundDownloadRequest constructor
const
ForegroundDownloadRequest({
- required int sessionId,
- required String url,
- required String savePath,
- required Map<
String, String> headers, - required int expectedSize,
- required String expectedHash,
- required String hashAlgorithm,
- required int maxNetworkRetryCount,
- required int maxValidationRetryCount,
- required int minFreeSpaceMarginBytes,
Implementation
const ForegroundDownloadRequest({
required this.sessionId,
required this.url,
required this.savePath,
required this.headers,
required this.expectedSize,
required this.expectedHash,
required this.hashAlgorithm,
required this.maxNetworkRetryCount,
required this.maxValidationRetryCount,
required this.minFreeSpaceMarginBytes,
});