SearchForFacetsOptions constructor

const SearchForFacetsOptions({
  1. required String facet,
  2. required String indexName,
  3. String? facetQuery,
  4. int? maxFacetHits,
  5. required SearchTypeFacet type,
})

Returns a new SearchForFacetsOptions instance.

Implementation

const SearchForFacetsOptions({
  required this.facet,
  required this.indexName,
  this.facetQuery,
  this.maxFacetHits,
  required this.type,
});