toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
"name": _name,
"aliases": _aliases,
"categories": _categories,
"floor": _floorIndex.toString(),
"floorName": _floorName,
"building": _building,
"venue": _venue,
"type": _type,
"description": _description,
"externalId": _externalId,
"activeFrom": _activeFrom,
"activeTo": _activeTo,
"contact": _contact,
"fields": _fields,
"imageURL": _imageUrl,
"locationType": _locationType,
"anchor": _anchor,
"bookable": _bookable,
"status": _status
};
}