added location handling to storage

This commit is contained in:
2026-06-18 23:16:20 +02:00
parent cee5af0f84
commit 023610804d
2 changed files with 62 additions and 1 deletions
@@ -0,0 +1,19 @@
import '../../location.dart';
abstract class LocationRepository {
// Create
Future<void> createLocation(Location location);
// Read
Future<List<Location>> loadLocations();
// Update
Future<void> updateLocation(Location location);
// Delete
Future<void> deleteLocation(Location location);
}