app files restructure
This commit is contained in:
parent
c07f0c25c5
commit
469a4b0383
312 changed files with 592 additions and 546 deletions
|
|
@ -1,41 +0,0 @@
|
|||
// ignore: file_names
|
||||
class Business {
|
||||
final String business_id;
|
||||
final String Name;
|
||||
final String type;
|
||||
final String registration_no;
|
||||
final String logo_name;
|
||||
final String logo_path;
|
||||
final String contact_no;
|
||||
final String bus_email;
|
||||
final String app_id;
|
||||
final String gps_location;
|
||||
|
||||
const Business(
|
||||
this.business_id,
|
||||
this.Name,
|
||||
this.type,
|
||||
this.registration_no,
|
||||
this.logo_name,
|
||||
this.logo_path,
|
||||
this.contact_no,
|
||||
this.bus_email,
|
||||
this.app_id,
|
||||
this.gps_location,
|
||||
);
|
||||
|
||||
factory Business.fromJson(dynamic json) {
|
||||
return Business(
|
||||
json['business_id'],
|
||||
json['Name'],
|
||||
json['type'],
|
||||
json['registration_no'],
|
||||
json['logo_name'],
|
||||
json['logo_path'],
|
||||
json['contact_no'],
|
||||
json['bus_email'],
|
||||
json['app_id'],
|
||||
json['gps_location'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue