createCategory function

PoiCategory createCategory(
  1. Map map
)

Implementation

PoiCategory createCategory(Map map) {
  return PoiCategory(
    id: map["identifier"].toString(),
    name: map["poiCategoryName"],
  );
}