getSnapshotsSync method

List<RecordSnapshot<K, V>?> getSnapshotsSync(
  1. DatabaseClient databaseClient
)

Get all records snapshot synchronously.

Implementation

List<RecordSnapshot<K, V>?> getSnapshotsSync(DatabaseClient databaseClient) {
  var client = getClient(databaseClient);

  return snapshotsFromImmutableRecords(
    client
        .getSembastStore(store)
        .txnGetImmutableRecordsSync(client.sembastTransaction, this),
  );
}