FieldTransform class

A transformation of a field of the document.

Constructors

FieldTransform({ArrayValue? appendMissingElements, String? fieldPath, Value? increment, Value? maximum, Value? minimum, ArrayValue? removeAllFromArray, String? setToServerValue})
FieldTransform.fromJson(Map json_)

Properties

appendMissingElements ArrayValue?
Append the given elements in order if they are not already present in the current field value.
getter/setter pair
fieldPath String?
The path of the field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
increment Value?
Adds the given value to the field's current value.
getter/setter pair
maximum Value?
Sets the field to the maximum of its current value and the given value.
getter/setter pair
minimum Value?
Sets the field to the minimum of its current value and the given value.
getter/setter pair
removeAllFromArray ArrayValue?
Remove all of the given elements from the array in the field.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setToServerValue String?
Sets the field to the given server value. Possible string values are:
getter/setter pair

Methods

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

Operators

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