Precondition class

A precondition on a document, used for conditional operations.

Constructors

Precondition()
Precondition.fromJson(Map _json)

Properties

exists bool
When set to true, the target document must exist. When set to false, the target document must not exist.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updateTime String
When set, the target document must exist and have been last updated at that time.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited