update to server location popup
This commit is contained in:
@ -21,6 +21,7 @@ class Destination {
|
||||
double? cp;
|
||||
double? checkin_point;
|
||||
double? buy_point;
|
||||
int? hidden_location;
|
||||
|
||||
Destination({
|
||||
this.name,
|
||||
@ -42,7 +43,8 @@ class Destination {
|
||||
this.checkedin,
|
||||
this.cp,
|
||||
this.checkin_point,
|
||||
this.buy_point
|
||||
this.buy_point,
|
||||
this.hidden_location
|
||||
});
|
||||
|
||||
factory Destination.fromMap(Map<String, dynamic> json) {
|
||||
@ -70,7 +72,8 @@ class Destination {
|
||||
checkedin: checkin,
|
||||
cp: json['cp'],
|
||||
checkin_point: json['checkin_point'],
|
||||
buy_point: json['buy_point']
|
||||
buy_point: json['buy_point'],
|
||||
hidden_location: json['hidden_location']
|
||||
);
|
||||
}
|
||||
|
||||
@ -97,7 +100,8 @@ class Destination {
|
||||
'checkedin': check,
|
||||
'cp' : cp,
|
||||
'checkin_point' : checkin_point,
|
||||
'buy_point' : buy_point
|
||||
'buy_point' : buy_point,
|
||||
'hidden_location' : hidden_location
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user