mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
show user follow time show top image title Signed-off-by: dom <githubaccount56556@proton.me>
31 lines
697 B
Dart
31 lines
697 B
Dart
import 'package:PiliPlus/models_new/live/live_medal_wall/item.dart';
|
|
|
|
class MedalWallData {
|
|
List<MedalWallItem>? list;
|
|
int? count;
|
|
String? name;
|
|
String? icon;
|
|
int? uid;
|
|
int? level;
|
|
|
|
MedalWallData({
|
|
this.list,
|
|
this.count,
|
|
this.name,
|
|
this.icon,
|
|
this.uid,
|
|
this.level,
|
|
});
|
|
|
|
factory MedalWallData.fromJson(Map<String, dynamic> json) => MedalWallData(
|
|
list: (json['list'] as List<dynamic>?)
|
|
?.map((e) => MedalWallItem.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
count: json['count'] as int?,
|
|
name: json['name'] as String?,
|
|
icon: json['icon'] as String?,
|
|
uid: json['uid'] as int?,
|
|
level: json['level'] as int?,
|
|
);
|
|
}
|