新增倒计时

This commit is contained in:
2023-11-03 00:18:45 +08:00
parent d77f556890
commit 0388b5fb1d
10 changed files with 365 additions and 148 deletions

View 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;
}
}