delete method
Delete the record. Returns the key if deleted, null if not found.
Implementation
Future<K?> delete(DatabaseClient databaseClient) {
var client = getClient(databaseClient);
return client.inTransaction((txn) async {
return await client.getSembastStore(store).txnDelete(txn, key as Key)
as K?;
});
}