add practic and vat no to object
This commit is contained in:
parent
77b26ed790
commit
88738edff1
1 changed files with 6 additions and 0 deletions
|
|
@ -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'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue