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