all method

Future<Map<String, T>> all({
  1. ETagReceiver? eTagReceiver,
})

Read all entries from the store.

If eTagReceiver was specified, it will contain the current eTag of the whole store after the returned future was resolved.

Implementation

Future<Map<String, T>> all({ETagReceiver? eTagReceiver}) async {
  final response = await restApi.get(
    path: _buildPath(),
    eTag: eTagReceiver != null,
  );
  _applyETag(eTagReceiver, response);
  return mapTransform(response.data, dataFromJson);
}