mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33:43 +08:00
25 lines
459 B
Dart
25 lines
459 B
Dart
class CountdownFestivalItemData {
|
|
CountdownFestivalItemData({
|
|
this.name,
|
|
this.time,
|
|
this.icon,
|
|
});
|
|
|
|
CountdownFestivalItemData.fromJson(dynamic json) {
|
|
name = json['name'];
|
|
time = json['time'];
|
|
icon = json['icon'];
|
|
}
|
|
String? name;
|
|
int? time;
|
|
String? icon;
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final map = <String, dynamic>{};
|
|
map['name'] = name;
|
|
map['time'] = time;
|
|
map['icon'] = icon;
|
|
return map;
|
|
}
|
|
}
|