fromMap static method
Gets a possible IOSWKNavigationResponse instance from a Map value.
Implementation
static IOSWKNavigationResponse? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = IOSWKNavigationResponse(
canShowMIMEType: map['canShowMIMEType'],
isForMainFrame: map['isForMainFrame'],
response:
IOSURLResponse.fromMap(map['response']?.cast<String, dynamic>()),
);
return instance;
}