getSnapshot method
Get a record snapshot from the database.
Implementation
Future<RecordSnapshot<K, V>?> getSnapshot(
DatabaseClient databaseClient) async {
var client = getClient(databaseClient);
var record = await client
.getSembastStore(store)
.txnGetRecordSnapshot<K, V>(client.sembastTransaction, key);
return record;
}