mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 07:54:44 +08:00
新增倒计时
This commit is contained in:
24
lib/data/countdown_festival_item_data.dart
Normal file
24
lib/data/countdown_festival_item_data.dart
Normal file
@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user