fix vote card

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-24 12:47:46 +08:00
parent b46cb69df4
commit fcf4e72d8e
2 changed files with 4 additions and 4 deletions

View File

@@ -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'];
}
}