26 lines
562 B
Dart
Raw Normal View History

2024-06-24 23:57:43 +02:00
class Events {
String? id;
String? name;
String? place;
2024-06-27 00:01:07 +02:00
String? startDate;
2024-09-25 23:08:28 +02:00
String? endDate;
String? description;
String? zipCode;
String? city;
String? country;
2024-06-24 23:57:43 +02:00
2024-06-27 00:01:07 +02:00
Events({this.place, this.id, this.name, this.startDate});
2024-06-24 23:57:43 +02:00
Events.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
place = json['place'];
2024-06-27 00:01:07 +02:00
startDate = json["start_date"];
2024-09-25 23:08:28 +02:00
endDate = json['end_date'];
description = json['description'];
zipCode = json["zip_code"];
city = json['city'];
country = json['country'];
2024-06-24 23:57:43 +02:00
}
}