评论数据渲染
This commit is contained in:
23
lib/models/video/reply/content.dart
Normal file
23
lib/models/video/reply/content.dart
Normal 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'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user