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.
mohemm-flutter-app/lib/models/dashboard/get_open_notifications_list...

24 lines
864 B
Dart

class GetOpenNotificationsList {
GetOpenNotificationsList({
this.itemType,
this.itemTypeDisplayName,
this.openNtfNumber,
});
String? itemType;
String? itemTypeDisplayName;
int? openNtfNumber;
factory GetOpenNotificationsList.fromMap(Map<String, dynamic> json) => GetOpenNotificationsList(
itemType: json["iteM_TYPE"] == null ? null : json["iteM_TYPE"],
itemTypeDisplayName: json["iteM_TYPE_DISPLAY_NAME"] == null ? null : json["iteM_TYPE_DISPLAY_NAME"],
openNtfNumber: json["opeN_NTF_NUMBER"] == null ? null : json["opeN_NTF_NUMBER"],
);
Map<String, dynamic> toMap() => {
"iteM_TYPE": itemType == null ? null : itemType,
"iteM_TYPE_DISPLAY_NAME": itemTypeDisplayName == null ? null : itemTypeDisplayName,
"opeN_NTF_NUMBER": openNtfNumber == null ? null : openNtfNumber,
};
}