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 toJson() { final map = {}; map['name'] = name; map['time'] = time; map['icon'] = icon; return map; } }