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.
30 lines
780 B
Dart
30 lines
780 B
Dart
|
2 months ago
|
import 'dart:convert';
|
||
|
|
|
||
|
|
class GetOpenNotifications {
|
||
|
|
String? iteMType;
|
||
|
|
String? iteMTypeDisplayName;
|
||
|
|
int? opeNNtfNumber;
|
||
|
|
|
||
|
|
GetOpenNotifications({
|
||
|
|
this.iteMType,
|
||
|
|
this.iteMTypeDisplayName,
|
||
|
|
this.opeNNtfNumber,
|
||
|
|
});
|
||
|
|
|
||
|
|
factory GetOpenNotifications.fromRawJson(String str) => GetOpenNotifications.fromJson(json.decode(str));
|
||
|
|
|
||
|
|
String toRawJson() => json.encode(toJson());
|
||
|
|
|
||
|
|
factory GetOpenNotifications.fromJson(Map<String, dynamic> json) => GetOpenNotifications(
|
||
|
|
iteMType: json["iteM_TYPE"],
|
||
|
|
iteMTypeDisplayName: json["iteM_TYPE_DISPLAY_NAME"],
|
||
|
|
opeNNtfNumber: json["opeN_NTF_NUMBER"],
|
||
|
|
);
|
||
|
|
|
||
|
|
Map<String, dynamic> toJson() => {
|
||
|
|
"iteM_TYPE": iteMType,
|
||
|
|
"iteM_TYPE_DISPLAY_NAME": iteMTypeDisplayName,
|
||
|
|
"opeN_NTF_NUMBER": opeNNtfNumber,
|
||
|
|
};
|
||
|
|
}
|