fromMap static method
Gets a possible IOSWKFrameInfo instance from a Map value.
Implementation
static IOSWKFrameInfo? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = IOSWKFrameInfo(
isMainFrame: map['isMainFrame'],
request: URLRequest.fromMap(map['request']?.cast<String, dynamic>()),
securityOrigin: IOSWKSecurityOrigin.fromMap(
map['securityOrigin']?.cast<String, dynamic>()),
);
return instance;
}