You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.2 KiB
Dart
61 lines
2.2 KiB
Dart
class GetMenuEntriesList {
|
|
GetMenuEntriesList({
|
|
this.addButton,
|
|
this.deleteButton,
|
|
this.entrySequence,
|
|
this.functionName,
|
|
this.icon,
|
|
this.lvl,
|
|
this.menuEntryType,
|
|
this.menuName,
|
|
this.parentMenuName,
|
|
this.prompt,
|
|
this.requestType,
|
|
this.updateButton,
|
|
});
|
|
|
|
String? addButton;
|
|
String? deleteButton;
|
|
int? entrySequence;
|
|
String? functionName;
|
|
String? icon;
|
|
int? lvl;
|
|
String? menuEntryType;
|
|
String? menuName;
|
|
String? parentMenuName;
|
|
String? prompt;
|
|
String? requestType;
|
|
String? updateButton;
|
|
|
|
factory GetMenuEntriesList.fromJson(Map<String, dynamic> json) => GetMenuEntriesList(
|
|
addButton: json["ADD_BUTTON"] == null ? null : json["ADD_BUTTON"],
|
|
deleteButton: json["DELETE_BUTTON"] == null ? null : json["DELETE_BUTTON"],
|
|
entrySequence: json["ENTRY_SEQUENCE"] == null ? null : json["ENTRY_SEQUENCE"],
|
|
functionName: json["FUNCTION_NAME"] == null ? null : json["FUNCTION_NAME"],
|
|
icon: json["ICON"] == null ? null : json["ICON"],
|
|
lvl: json["LVL"] == null ? null : json["LVL"],
|
|
menuEntryType: json["MENU_ENTRY_TYPE"] == null ? null : json["MENU_ENTRY_TYPE"],
|
|
menuName: json["MENU_NAME"] == null ? null : json["MENU_NAME"],
|
|
parentMenuName: json["PARENT_MENU_NAME"] == null ? null : json["PARENT_MENU_NAME"],
|
|
prompt: json["PROMPT"] == null ? null : json["PROMPT"],
|
|
requestType: json["REQUEST_TYPE"] == null ? null : json["REQUEST_TYPE"],
|
|
updateButton: json["UPDATE_BUTTON"] == null ? null :json["UPDATE_BUTTON"],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
"ADD_BUTTON": addButton == null ? null :addButton,
|
|
"DELETE_BUTTON": deleteButton == null ? null : deleteButton,
|
|
"ENTRY_SEQUENCE": entrySequence == null ? null : entrySequence,
|
|
"FUNCTION_NAME": functionName == null ? null : functionName,
|
|
"ICON": icon == null ? null : icon,
|
|
"LVL": lvl == null ? null : lvl,
|
|
"MENU_ENTRY_TYPE": menuEntryType == null ? null : menuEntryType,
|
|
"MENU_NAME": menuName == null ? null : menuName,
|
|
"PARENT_MENU_NAME": parentMenuName == null ? null : parentMenuName,
|
|
"PROMPT": prompt == null ? null : prompt,
|
|
"REQUEST_TYPE": requestType == null ? null : requestType,
|
|
"UPDATE_BUTTON": updateButton == null ? null : updateButton,
|
|
};
|
|
}
|
|
|