rollback method
Rollback the transaction
Implementation
@override
Future<void> rollback() async {
_checkActive();
try {
await _connection.execute('ROLLBACK');
_isRolledBack = true;
_isActive = false;
} catch (e) {
throw AdapterError(
'Failed to rollback transaction: ${e.toString()}',
originalError: e,
);
}
}