VectorValue class
Represents a vector value in Firestore.
Create an instance with FieldValue.vector.
- Annotations
-
- @immutable
Constructors
-
VectorValue(List<
double> values) - Creates a VectorValue from a list of numbers.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isEqual(
VectorValue other) → bool - Returns true if the two VectorValue instances have the same raw number arrays.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toArray(
) → List< double> - Returns a copy of the raw number array form of the vector.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override