From 88738edff1c24a64b5e45ea02742cc3abfad5317 Mon Sep 17 00:00:00 2001 From: yaso Date: Fri, 29 Nov 2024 11:37:36 +0200 Subject: [PATCH] add practic and vat no to object --- Frontend/lib/mih_objects/business.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Frontend/lib/mih_objects/business.dart b/Frontend/lib/mih_objects/business.dart index 751c281c..cafded10 100644 --- a/Frontend/lib/mih_objects/business.dart +++ b/Frontend/lib/mih_objects/business.dart @@ -10,6 +10,8 @@ class Business { final String bus_email; final String app_id; final String gps_location; + final String practice_no; + final String vat_no; const Business( this.business_id, @@ -22,6 +24,8 @@ class Business { this.bus_email, this.app_id, this.gps_location, + this.practice_no, + this.vat_no, ); factory Business.fromJson(dynamic json) { @@ -36,6 +40,8 @@ class Business { json['bus_email'], json['app_id'], json['gps_location'], + json['practice_no'], + json['vat_no'], ); } }