TransactionOptions extension type
Options to configure a transaction.
- on
- Implemented types
- Available extensions
Constructors
- TransactionOptions({bool readOnly, Timestamp? readTime, int? maxAttempts})
-
Constructor
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxAttempts → int?
-
The maximum number of attempts for this transaction. Defaults to 5.
no setter
- readOnly ↔ bool
-
Set to true to indicate a read-only transaction.
getter/setter pair
- readTime → Timestamp?
-
If specified, documents are read at the given time. This may not be more
than 60 seconds in the past from when the request is processed by the
server.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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