FieldTransform class

A transformation of a field of the document.

Constructors

FieldTransform()
FieldTransform.fromJson(Map _json)

Properties

appendMissingElements ArrayValue
Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. [...]
read / write
fieldPath ↔ String
The path of the field. See Document.fields for the field path syntax reference.
read / write
increment Value
Adds the given value to the field's current value. [...]
read / write
maximum Value
Sets the field to the maximum of its current value and the given value. [...]
read / write
minimum Value
Sets the field to the minimum of its current value and the given value. [...]
read / write
removeAllFromArray ArrayValue
Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. [...]
read / write
setToServerValue ↔ String
Sets the field to the given server value. Possible string values are: [...]
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

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited