show followee votes

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-11 20:55:44 +08:00
parent 2b4b1debe6
commit 74d5e03a34
4 changed files with 209 additions and 10 deletions

View File

@@ -0,0 +1,23 @@
class FolloweeVote {
int uid;
String name;
String face;
List<int> votes;
int ctime;
FolloweeVote({
required this.uid,
required this.name,
required this.face,
required this.votes,
required this.ctime,
});
factory FolloweeVote.fromJson(Map<String, dynamic> json) => FolloweeVote(
uid: json['uid'],
name: json['name'],
face: json['face'],
votes: List<int>.from(json['votes']),
ctime: json['ctime'],
);
}