query method
Queries a subset of entries from the store.
Uses the given filter
to get a filtered view of elements of the store
from the server. Check the Filter docs to read how you can filter.
Returns all entries (with keys) that match the filter.
Implementation
Future<Map<String, T>> query(Filter filter) async {
final response = await restApi.get(
path: _buildPath(),
filter: filter,
);
return mapTransform(response.data, dataFromJson);
}