mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 20:33:42 +08:00
24 lines
464 B
Dart
24 lines
464 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;
|
||
|
}
|
||
|
|
||
|
}
|