fromMap static method
Implementation
static WebResourceRequest? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
return WebResourceRequest(
url: Uri.tryParse(map["url"]) ?? Uri(),
headers: map["headers"]?.cast<String, String>(),
method: map["method"],
hasGesture: map["hasGesture"],
isForMainFrame: map["isForMainFrame"],
isRedirect: map["isRedirect"]);
}