import 'dart:convert'; 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, this.attachmenTRequired }); String? addButton; String? deleteButton; int? entrySequence; String? functionName; String? icon; int? lvl; String? menuEntryType; String? menuName; String? parentMenuName; String? prompt; String? requestType; String? updateButton; dynamic attachmenTRequired; factory GetMenuEntriesList.fromRawJson(String str) => GetMenuEntriesList.fromJson(json.decode(str)); String toRawJson() => json.encode(toJson()); factory GetMenuEntriesList.fromJson(Map json) => GetMenuEntriesList( addButton: json["adDButton"] == null ? null : json["adDButton"], deleteButton: json["deletEButton"] == null ? null : json["deletEButton"], entrySequence: json["entrYSequence"] == null ? null : json["entrYSequence"], functionName: json["functioNName"] == null ? null : json["functioNName"], 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["menUName"] == null ? null : json["menUName"], parentMenuName: json["parenTMenuName"] == null ? null : json["parenTMenuName"], prompt: json["prompt"] == null ? null : json["prompt"], requestType: json["requesTType"] == null ? null : json["requesTType"], updateButton: json["updatEButton"] == null ? null :json["updatEButton"], attachmenTRequired: json["attachmenT_REQUIRED"], ); Map toJson() => { "adDButton": addButton == null ? null :addButton, "deletEButton": deleteButton == null ? null : deleteButton, "entrYSequence": entrySequence == null ? null : entrySequence, "functioNName": functionName == null ? null : functionName, "icon": icon == null ? null : icon, "lvl": lvl == null ? null : lvl, "menU_ENTRY_TYPE": menuEntryType == null ? null : menuEntryType, "menUName": menuName == null ? null : menuName, "parenTMenuName": parentMenuName == null ? null : parentMenuName, "prompt": prompt == null ? null : prompt, "requesTType": requestType == null ? null : requestType, "updatEButton": updateButton == null ? null : updateButton, "attachmenT_REQUIRED": attachmenTRequired, }; }