FirestoreTransaction class
The handle a transaction handler is given.
Reads go to the backend immediately, through the SDK's transaction so they are part of it. Writes are buffered here and applied together at commit: a write already handed to the SDK could not be taken back if a later line of the handler threw.
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
-
delete(
String path) → void -
get(
String path) → Future< Map< String, Object?> ?> -
Reads
pathinside the transaction. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
String path, Map< String, Object?> data, {bool merge = false}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String path, Map< String, Object?> data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited