createPoi function
Implementation
Poi createPoi(Map map) {
return Poi(
identifier: map["identifier"],
name: map["poiName"],
buildingIdentifier: map["buildingIdentifier"],
poiCategory: createCategory(map["category"]),
position: createPoint(map["position"]),
customFields: Map<String, dynamic>.from(map["customFields"]),
);
}