mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
16 lines
343 B
Dart
16 lines
343 B
Dart
import 'package:fixnum/fixnum.dart';
|
|
|
|
class MsgFeedUnread {
|
|
int at = 0;
|
|
int like = 0;
|
|
int reply = 0;
|
|
int sysMsg = 0;
|
|
|
|
MsgFeedUnread.fromJson(Map<String, Int64> json) {
|
|
at = json['at']?.toInt() ?? 0;
|
|
like = json['like']?.toInt() ?? 0;
|
|
reply = json['reply']?.toInt() ?? 0;
|
|
sysMsg = json['sys_msg']?.toInt() ?? 0;
|
|
}
|
|
}
|