Precondition extension type
An options object that configures conditional behavior of update()
and
delete()
calls in DocumentReference
, WriteBatch
, and Transaction
.
Using Preconditions, these calls can be restricted to only apply to
documents that match the specified restrictions.
- on
- Implemented types
- Available extensions
Properties
- exists → bool?
-
If set, enforces that the target document must or must not exist.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdateTime → Timestamp?
-
If set, the last update time to enforce.
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