Update business opbject to include gps location

This commit is contained in:
2024-10-23 12:17:52 +02:00
parent ff970efb65
commit 5abc8f4a81

View File

@@ -9,6 +9,7 @@ class Business {
final String contact_no; final String contact_no;
final String bus_email; final String bus_email;
final String app_id; final String app_id;
final String gps_location;
const Business( const Business(
this.business_id, this.business_id,
@@ -20,6 +21,7 @@ class Business {
this.contact_no, this.contact_no,
this.bus_email, this.bus_email,
this.app_id, this.app_id,
this.gps_location,
); );
factory Business.fromJson(dynamic json) { factory Business.fromJson(dynamic json) {
@@ -33,6 +35,7 @@ class Business {
json['contact_no'], json['contact_no'],
json['bus_email'], json['bus_email'],
json['app_id'], json['app_id'],
json['gps_location'],
); );
} }
} }