fromMap static method
Implementation
static DownloadStartRequest? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
return DownloadStartRequest(
url: Uri.tryParse(map["url"]) ?? Uri(),
userAgent: map["userAgent"],
contentDisposition: map["contentDisposition"],
mimeType: map["mimeType"],
contentLength: map["contentLength"],
suggestedFilename: map["suggestedFilename"],
textEncodingName: map["textEncodingName"]);
}