removeSavedDestination method

Future<void> removeSavedDestination(
  1. String name
)

Removes a saved destination

Implementation

Future<void> removeSavedDestination(String name) async {
  _savedDestinations.removeWhere((dest) => dest['name'] == name);

  // Update storage
  // Implementation would update preferences or local DB

  notifyListeners();
}