Update business opbject to include gps location
This commit is contained in:
parent
ff970efb65
commit
5abc8f4a81
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ class Business {
|
|||
final String contact_no;
|
||||
final String bus_email;
|
||||
final String app_id;
|
||||
final String gps_location;
|
||||
|
||||
const Business(
|
||||
this.business_id,
|
||||
|
|
@ -20,6 +21,7 @@ class Business {
|
|||
this.contact_no,
|
||||
this.bus_email,
|
||||
this.app_id,
|
||||
this.gps_location,
|
||||
);
|
||||
|
||||
factory Business.fromJson(dynamic json) {
|
||||
|
|
@ -33,6 +35,7 @@ class Business {
|
|||
json['contact_no'],
|
||||
json['bus_email'],
|
||||
json['app_id'],
|
||||
json['gps_location'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue