VectorFieldConfig class
Vector field configuration
Configures the properties of a vector field, such as dimensions and precision.
Constructors
- VectorFieldConfig({required int dimensions, VectorPrecision precision = VectorPrecision.float64})
-
Constructor
const
-
VectorFieldConfig.fromJson(Map<
String, dynamic> json) -
Create from JSON
factory
Properties
- dimensions → int
-
Dimension of the vector
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- precision → VectorPrecision
-
Precision of vector data (bits per dimension)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? dimensions, VectorPrecision? precision}) → VectorFieldConfig - Copy with new values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to JSON
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited