delete method Null safety

Future delete(
  1. DatabaseClient databaseClient
)

Delete the record.

Implementation

Future delete(DatabaseClient databaseClient) {
  var client = getClient(databaseClient);
  return client.inTransaction((txn) {
    return client.getSembastStore(store).txnDelete(txn, key);
  });
}