toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (facetIntervals != null) 'facetIntervals': facetIntervals!,
      if (ignoredFacetValues != null)
        'ignoredFacetValues': ignoredFacetValues!,
      if (mergedFacet != null) 'mergedFacet': mergedFacet!,
      if (mergedFacetValues != null) 'mergedFacetValues': mergedFacetValues!,
      if (rerankConfig != null) 'rerankConfig': rerankConfig!,
    };