getSnapshotSync method
Get a record snapshot from the database synchronously.
Implementation
RecordSnapshot<K, V>? getSnapshotSync(DatabaseClient databaseClient) {
var client = getClient(databaseClient);
return snapshotFromImmutableRecordOrNull(
client
.getSembastStore(store)
.txnGetImmutableRecordSync(client.sembastTransaction, key),
);
}