SetOptions class Null safety
An options class that configures the behavior of set() calls in DocumentReference
,
WriteBatch
and Transaction
.
Constructors
- SetOptions({bool? merge = null, List? mergeFields = null})
- Creates a SetOptions instance.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- 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. [...]
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited