Transaction class
A structure used in DatabaseReference.transaction.
Constructors
- Transaction({bool? committed, DataSnapshot? snapshot})
-
Creates a new Transaction with optional
committed
andsnapshot
properties.factory - Transaction.fromJsObject(TransactionJsImpl jsObject)
-
Creates a new Transaction from a
jsObject
.
Properties
- committed → bool
-
If transaction was committed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsObject → TransactionJsImpl
-
JS object.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshot → DataSnapshot
-
Returns the DataSnapshot.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited