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