partitionValue method
Returns the json map associated with the provided key
name
: The partition namekey
: The key
Returns the key json map
Implementation
Future<Map<String, dynamic>?> partitionValue(String name, String key) {
final partition = _partition(name);
if (partition != null) {
return partition.record(key).get(_db);
}
return Future.value();
}