add new fields to objects

This commit is contained in:
2025-07-04 13:05:24 +02:00
parent a24a694db9
commit 1a14868bcf

View File

@@ -12,6 +12,9 @@ class Business {
final String gps_location;
final String practice_no;
final String vat_no;
final String website;
final String rating;
final String mission_vision;
const Business(
this.business_id,
@@ -26,6 +29,9 @@ class Business {
this.gps_location,
this.practice_no,
this.vat_no,
this.website,
this.rating,
this.mission_vision,
);
factory Business.fromJson(dynamic json) {
@@ -42,6 +48,9 @@ class Business {
json['gps_location'],
json['practice_no'],
json['vat_no'],
json['website'],
json['rating'],
json['mission_vision'],
);
}
}