import 'dart:convert'; class ListMenu { int? menUId; String? menUName; String? menUType; dynamic suBMenuName; dynamic resPId; int? requesTGroupId; String? requesTGroupName; ListMenu({ this.menUId, this.menUName, this.menUType, this.suBMenuName, this.resPId, this.requesTGroupId, this.requesTGroupName, }); factory ListMenu.fromRawJson(String str) => ListMenu.fromJson(json.decode(str)); String toRawJson() => json.encode(toJson()); factory ListMenu.fromJson(Map json) => ListMenu( menUId: json["menU_ID"], menUName: json["menU_NAME"], menUType: json["menU_TYPE"], suBMenuName: json["suB_MENU_NAME"], resPId: json["resP_ID"], requesTGroupId: json["requesT_GROUP_ID"], requesTGroupName: json["requesT_GROUP_NAME"], ); Map toJson() => { "menU_ID": menUId, "menU_NAME": menUName, "menU_TYPE": menUType, "suB_MENU_NAME": suBMenuName, "resP_ID": resPId, "requesT_GROUP_ID": requesTGroupId, "requesT_GROUP_NAME": requesTGroupName, }; }