fix : Différentes erreurs
This commit is contained in:
@@ -20,11 +20,6 @@ class Event {
|
||||
this.isFavorite = false,
|
||||
});
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'Event{name: $name, picture: $picture}';
|
||||
}
|
||||
|
||||
factory Event.fromJson(Map<String, dynamic> json) => _$EventFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$EventToJson(this);
|
||||
}
|
||||
Reference in New Issue
Block a user