getByKeys method
Returns the json maps of the provided keys
name
: The partition namekeys
: The list of cache keys
Returns the key json map
Implementation
Future<List<Map<String, dynamic>?>> getByKeys(
String name, Iterable<String> keys) {
final partition = _partition(name);
if (partition != null) {
return partition.records(keys).get(_db);
}
return Future.value(const <Map<String, dynamic>?>[]);
}