SetOptions class
An options class that configures the behavior of set() calls in DocumentReference, WriteBatch and Transaction.
Constructors
-
SetOptions({bool? merge, List<
Object> ? mergeFields}) - Creates a SetOptions instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- merge → bool?
-
Changes the behavior of a set() call to only replace the values specified
in its data argument.
final
-
mergeFields
→ List<
FieldPath> ? -
Changes the behavior of set() calls to only replace the specified field paths.
final
- 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