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 client
      .getSembastStore(store)
      .txnGetRecordSnapshotsSync(client.sembastTransaction, this);
}