FieldValueStatic extension type
Static members on FieldValue
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
arrayRemove(
JSArray< JSAny?> elements) → FieldValue - Returns a special value that can be used with set(), create() or update() that tells the server to remove the given elements from any array value that already exists on the server. All instances of each element specified will be removed from the array. If the field being modified is not already an array it will be overwritten with an empty array.
-
arrayUnion(
JSArray< JSAny?> elements) → FieldValue - Returns a special value that can be used with set(), create() or update() that tells the server to union the given elements with any array value that already exists on the server. Each specified element that doesn't already exist in the array will be added to the end. If the field being modified is not already an array it will be overwritten with an array containing exactly the specified elements.
-
delete(
) → FieldValue - Returns a sentinel for use with update() or set() with {merge:true} to mark a field for deletion.
-
increment(
num n) → FieldValue - Returns a special value that can be used with set(), create() or update() that tells the server to increment the field's current value by the given value.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serverTimestamp(
) → FieldValue - Returns a sentinel used with set(), create() or update() to include a server-generated timestamp in the written data.
-
toString(
) → String -
A string representation of this object.
inherited
-
vector(
JSArray< JSNumber> ? values) → FieldValue -
@return A new
VectorValue
constructed with a copy of the given array of number.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited