added buypoint images
This commit is contained in:
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user