mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
27 lines
495 B
Dart
27 lines
495 B
Dart
class MsgFeedUnread {
|
|
MsgFeedUnread({
|
|
this.at = 0,
|
|
this.chat = 0,
|
|
this.like = 0,
|
|
this.reply = 0,
|
|
this.sysMsg = 0,
|
|
this.up = 0,
|
|
});
|
|
|
|
int at = 0;
|
|
int chat = 0;
|
|
int like = 0;
|
|
int reply = 0;
|
|
int sysMsg = 0;
|
|
int up = 0;
|
|
|
|
MsgFeedUnread.fromJson(Map<String, dynamic> json) {
|
|
at = json['at'] ?? 0;
|
|
chat = json['chat'] ?? 0;
|
|
like = json['like'] ?? 0;
|
|
reply = json['reply'] ?? 0;
|
|
sysMsg = json['sys_msg'] ?? 0;
|
|
up = json['up'] ?? 0;
|
|
}
|
|
}
|