PostgreSQLRollback class Null safety

Represents a rollback from a transaction.

If a transaction is cancelled using PostgreSQLExecutionContext.cancelTransaction, the value of the Future returned from PostgreSQLConnection.transaction will be an instance of this type. reason will be the String value of the optional argument to PostgreSQLExecutionContext.cancelTransaction.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
reason String
The reason the transaction was cancelled.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited