getFacets method

  1. @override
Future<FacetList> getFacets({
  1. FacetListOptions? options,
})

Implementation

@override
Future<FacetList> getFacets({FacetListOptions? options}) {
  return _dataSource.query<FacetList>(
    getFacetsQuery,
    {"options": options?.toJson()},
    fromJson: FacetList.fromJson,
    expectedDataType: 'facets',
  );
}