exists method Null safety

Future<bool> exists(
  1. DatabaseClient databaseClient
)

Return true if the record exists.

Implementation

Future<bool> exists(DatabaseClient databaseClient) {
  var client = getClient(databaseClient);
  return client
      .getSembastStore(store)
      .txnRecordExists(client.sembastTransaction, key);
}