toMap method
Implementation
Map<String, Object> toMap() => {
'sessionId': sessionId,
'url': url,
'savePath': savePath,
'headers': headers,
'expectedSize': expectedSize,
'expectedHash': expectedHash,
'hashAlgorithm': hashAlgorithm,
'maxNetworkRetryCount': maxNetworkRetryCount,
'maxValidationRetryCount': maxValidationRetryCount,
'minFreeSpaceMarginBytes': minFreeSpaceMarginBytes,
};