fromMap static method
Gets a possible JsAlertResponse instance from a Map value.
Implementation
static JsAlertResponse? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = JsAlertResponse();
instance.action = JsAlertResponseAction.fromNativeValue(map['action']);
instance.confirmButtonTitle = map['confirmButtonTitle'];
instance.handledByClient = map['handledByClient'];
instance.message = map['message'];
return instance;
}