added buypoint images

This commit is contained in:
Mohamed Nouffer
2023-09-14 00:08:53 +05:30
parent 30fea7cf8a
commit aa7b13b76a
5 changed files with 348 additions and 235 deletions

View File

@ -24,6 +24,7 @@ class Destination {
double? buy_point;
int? hidden_location;
String? checkin_image;
String? buypoint_image;
Destination({
this.name,
@ -48,7 +49,8 @@ class Destination {
this.checkin_point,
this.buy_point,
this.hidden_location,
this.checkin_image
this.checkin_image,
this.buypoint_image
});
factory Destination.fromMap(Map<String, dynamic> json) {
@ -79,7 +81,8 @@ class Destination {
checkin_point: json['checkin_point'],
buy_point: json['buy_point'],
hidden_location: json['hidden_location'],
checkin_image: json['checkin_image']
checkin_image: json['checkin_image'],
buypoint_image: json["buypoint_image"]
);
}
@ -109,7 +112,8 @@ class Destination {
'checkin_point' : checkin_point,
'buy_point' : buy_point,
'hidden_location' : hidden_location,
'checkin_image': checkin_image
'checkin_image': checkin_image,
'buypoint_image' : buypoint_image
};
}