评论数据渲染

This commit is contained in:
guozhigq
2023-04-23 15:50:51 +08:00
parent 2fd1cc422b
commit a0441aa589
20 changed files with 525 additions and 3 deletions

View File

@ -0,0 +1,23 @@
class ReplyContent {
ReplyContent({
this.message,
this.atNameToMid, // @的用户的mid
this.memebers, // 被@的用户List 如果有的话
this.emote, // 表情包 如果有的话
this.jumpUrl,
});
String? message;
Map? atNameToMid;
List? memebers;
Map? emote;
Map? jumpUrl;
ReplyContent.fromJson(Map<String, dynamic> json) {
message = json['message'];
atNameToMid = json['at_name_to_mid'];
memebers = json['memebers'];
emote = json['emote'];
jumpUrl = json['jumpUrl'];
}
}