getSnapshots method

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

Get all records snapshot.

Implementation

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

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