fixed history

This commit is contained in:
Mohamed Nouffer
2023-09-12 16:00:58 +05:30
parent 48f4b833f6
commit f64ac1ccfd
4 changed files with 21 additions and 8 deletions

View File

@ -23,6 +23,7 @@ class Destination {
double? checkin_point;
double? buy_point;
int? hidden_location;
String? checkin_image;
Destination({
this.name,
@ -46,7 +47,8 @@ class Destination {
this.cp,
this.checkin_point,
this.buy_point,
this.hidden_location
this.hidden_location,
this.checkin_image
});
factory Destination.fromMap(Map<String, dynamic> json) {
@ -76,7 +78,8 @@ class Destination {
cp: json['cp'],
checkin_point: json['checkin_point'],
buy_point: json['buy_point'],
hidden_location: json['hidden_location']
hidden_location: json['hidden_location'],
checkin_image: json['checkin_image']
);
}
@ -105,7 +108,8 @@ class Destination {
'cp' : cp,
'checkin_point' : checkin_point,
'buy_point' : buy_point,
'hidden_location' : hidden_location
'hidden_location' : hidden_location,
'checkin_image': checkin_image
};
}