update to server location popup

This commit is contained in:
Mohamed Nouffer
2022-10-30 21:43:29 +05:30
parent 2d9f7a9633
commit d16d97f64f
17 changed files with 700 additions and 241 deletions

View File

@ -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
};
}