rollback method
Rollback a transaction.
Implementation
Future<void> rollback() {
if (headers == null || transaction == null) {
throw Exception(
'Cannot rollback a transaction that has not been started.');
}
return _engine.rollbackTransaction(
headers: headers!,
transaction: transaction!,
);
}