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;
|
2024-11-15 23:22:17 +01:00
|
|
|
double? latitude;
|
|
|
|
double? longitude;
|
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'];
|
2024-11-15 23:22:17 +01:00
|
|
|
latitude = json['latitude'];
|
|
|
|
longitude = json['longitude'];
|
2024-06-24 23:57:43 +02:00
|
|
|
}
|
|
|
|
}
|