cancelTransaction abstract method
Cancels a transaction on this context.
If this context is an instance of PostgreSQLConnection, this method has no effect. If the context is a transaction context (passed as the argument to PostgreSQLConnection.transaction), this will rollback the transaction.
Implementation
void cancelTransaction({String? reason});