getAll abstract method
Retrieves all items from the local repository,
optionally filtered by filter
.
The filter
can be any type of object that your repository implementation
can use for filtering (e.g., a Map<String, dynamic>
or a custom filter class).
Throws an exception if the retrieval fails.
Implementation
Future<List<T>> getAll({dynamic filter});