added location handling to storage
This commit is contained in:
1 parent
cee5af0f84
commit
023610804d
2 files changed
+62
-1
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user