mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 02:56:58 +08:00
dyn addition jump
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -396,8 +396,10 @@ class Vote {
|
||||
int? type;
|
||||
int? uid;
|
||||
int? voteId;
|
||||
String? desc;
|
||||
|
||||
Vote.fromJson(Map<String, dynamic> json) {
|
||||
desc = json['desc'];
|
||||
choiceCnt = json['choice_cnt'];
|
||||
share = json['share'];
|
||||
defaultShare = json['default_share'];
|
||||
@@ -805,6 +807,7 @@ class RichTextNodeItem {
|
||||
String? type;
|
||||
String? rid;
|
||||
List<OpusPicsModel>? pics;
|
||||
String? jumpUrl;
|
||||
|
||||
RichTextNodeItem.fromJson(Map<String, dynamic> json) {
|
||||
emoji = json['emoji'] != null ? Emoji.fromJson(json['emoji']) : null;
|
||||
@@ -817,6 +820,7 @@ class RichTextNodeItem {
|
||||
: (json['pics'] as List?)
|
||||
?.map((e) => OpusPicsModel.fromJson(e))
|
||||
.toList();
|
||||
jumpUrl = json['jump_url'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user