CollectionVectorSchema constructor

const CollectionVectorSchema({
  1. Input<CollectionVectorSchemaDenseVector?>? denseVector,
  2. required Input<String> fieldName,
  3. Input<Map<String, dynamic>?>? sparseVector,
})

Creates a new CollectionVectorSchema. denseVector Message describing a dense vector field. fieldName The identifier for this object. Format specified above. sparseVector Message describing a sparse vector field.

Implementation

const CollectionVectorSchema({
  this.denseVector,
  required this.fieldName,
  this.sparseVector,
});