Files
PiliPlus/lib/models/msg/msgfeed_unread.dart
My-Responsitories 72734d4b4e opt: unread & zan grpc & readlist open with browser (#852)
* opt: unread

* opt: zan grpc

* feat: readlist open with browser
2025-05-11 10:58:00 +00:00

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;
}
}