handle events api

This commit is contained in:
2024-06-24 23:57:43 +02:00
parent 2120e24a79
commit cf29b1d364
2 changed files with 38 additions and 16 deletions

View File

@@ -0,0 +1,13 @@
class Events {
String? id;
String? name;
String? place;
Events({this.place, this.id, this.name});
Events.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
place = json['place'];
}
}