fromMap static method
Implementation
static IOSURLResponse? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
return IOSURLResponse(
url: map["url"] != null ? Uri.tryParse(map["url"]) : null,
expectedContentLength: map["expectedContentLength"],
mimeType: map["mimeType"],
suggestedFilename: map["suggestedFilename"],
textEncodingName: map["textEncodingName"],
headers: map["headers"]?.cast<String, String>(),
statusCode: map["statusCode"]);
}