|
|
|
|
@ -46,7 +46,7 @@ class Data {
|
|
|
|
|
customerCode = json['customerCode'];
|
|
|
|
|
custName = json['custName'];
|
|
|
|
|
if (json['buildings'] != null) {
|
|
|
|
|
buildings = new List<Buildings>();
|
|
|
|
|
buildings = [];
|
|
|
|
|
json['buildings'].forEach((v) {
|
|
|
|
|
buildings.add(new Buildings.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
@ -78,7 +78,7 @@ class Buildings {
|
|
|
|
|
name = json['name'];
|
|
|
|
|
value = json['value'];
|
|
|
|
|
if (json['floors'] != null) {
|
|
|
|
|
floors = new List<Floors>();
|
|
|
|
|
floors = [];
|
|
|
|
|
json['floors'].forEach((v) {
|
|
|
|
|
floors.add(new Floors.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
@ -110,7 +110,7 @@ class Floors {
|
|
|
|
|
name = json['name'];
|
|
|
|
|
value = json['value'];
|
|
|
|
|
if (json['departments'] != null) {
|
|
|
|
|
departments = new List<Departments>();
|
|
|
|
|
departments = [];
|
|
|
|
|
json['departments'].forEach((v) {
|
|
|
|
|
departments.add(new Departments.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
|