addPoi method
Adds a new POI (e.g., from a long press on the map)
Implementation
void addPoi(Poi poi) {
pois.add(poi);
Get.snackbar('Location Added', '${poi.name} has been added to the map.');
}
Adds a new POI (e.g., from a long press on the map)
void addPoi(Poi poi) {
pois.add(poi);
Get.snackbar('Location Added', '${poi.name} has been added to the map.');
}