mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
fix vote card
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -619,17 +619,17 @@ class Vote {
|
||||
Vote({
|
||||
this.joinNum,
|
||||
this.voteId,
|
||||
this.desc,
|
||||
this.title,
|
||||
});
|
||||
|
||||
int? joinNum;
|
||||
int? voteId;
|
||||
String? desc;
|
||||
String? title;
|
||||
|
||||
Vote.fromJson(Map<String, dynamic> json) {
|
||||
joinNum = Utils.safeToInt(json['join_num']);
|
||||
voteId = Utils.safeToInt(json['vote_id']);
|
||||
desc = json['desc'];
|
||||
title = json['title'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user