getAll method

Future<Map<K, V>> getAll(
  1. Iterable<K> keys
)

Returns a map of the values associated with the keys.

Implementation

Future<Map<K, V>> getAll(Iterable<K> keys) async {
  final result = <K, V>{};
  for (final key in keys) {
    result[key] = await get(key);
  }
  return result;
}