show user medal

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-22 15:01:30 +08:00
parent fc7fc18b14
commit 2bebf200df
151 changed files with 1435 additions and 1321 deletions

View File

@@ -17,34 +17,28 @@ class LiveFansWearing {
class DetailV2 {
int? uid;
int? level;
String? medalColorLevel;
String? medalColorName;
String? medalName;
int? medalId;
String? medalColor;
String? medalColorBorder;
DetailV2({
this.uid,
this.level,
this.medalColorLevel,
this.medalColorName,
this.medalName,
this.medalId,
this.medalColor,
this.medalColorBorder,
});
factory DetailV2.fromJson(Map<String, dynamic> json) {
return DetailV2(
uid: json["uid"],
level: json["level"],
medalColorLevel: json["medal_color_level"],
medalColorName: json["medal_color_name"],
medalName: json["medal_name"],
medalId: json["medal_id"],
medalColor: json["medal_color"],
medalColorBorder: json["medal_color_border"],
);
}
}