Files
PiliPlus/lib/models_new/live/live_medal_wall/data.dart
dom ae59d257c3 show medal wall
show user follow time

show top image title

Signed-off-by: dom <githubaccount56556@proton.me>
2026-03-22 13:53:44 +08:00

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?,
);
}