Transaction class
Helper class to run transactions.
Constructors
- Transaction(ADb _db)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeTransaction(
) → void - Closes a transaction.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openTransaction(
) → void - Opens a transaction.
-
rollback(
) → void - Rollback changes.
-
runInTransaction(
Function function) → dynamic - Run a function inside a transaction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited