toMap method
Implementation
Map<String, dynamic> toMap() => {
'coordinate': {
'latitude': coordinate.latitude,
'longitude': coordinate.longitude,
},
'buildingIdentifier': buildingIdentifier,
'floorIdentifier': floorIdentifier,
};