toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
"id": id,
"name": name,
"building": building.toJson(),
"floors": floors.map((i) => i.toJson()).toList(),
"indoorPOIs": indoorPois.map((i) => i.toJson()).toList(),
"outdoorPOIs": outdoorPois.map((i) => i.toJson()).toList(),
"geofences": geofences.map((i) => i.toJson()).toList(),
"events": events.map((i) => i.toJson()).toList()
};