handle events api
This commit is contained in:
13
covas_mobile/lib/classes/events.dart
Normal file
13
covas_mobile/lib/classes/events.dart
Normal 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'];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user