mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-24 12:32:40 +08:00
show live rank
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
14
lib/models_new/live/live_contribution_rank/medal_info.dart
Normal file
14
lib/models_new/live/live_contribution_rank/medal_info.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
class MedalInfo {
|
||||
String? medalName;
|
||||
int? level;
|
||||
|
||||
MedalInfo({
|
||||
this.medalName,
|
||||
this.level,
|
||||
});
|
||||
|
||||
factory MedalInfo.fromJson(Map<String, dynamic> json) => MedalInfo(
|
||||
medalName: json['medal_name'] as String?,
|
||||
level: json['level'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user