fromMap static method
Gets a possible JsAlertRequest instance from a Map value.
Implementation
static JsAlertRequest? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = JsAlertRequest(
iosIsMainFrame: map['isMainFrame'],
isMainFrame: map['isMainFrame'],
message: map['message'],
url: map['url'] != null ? WebUri(map['url']) : null,
);
return instance;
}