GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig.fromJson constructor

GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig.fromJson(
    core.Map json_)
    : this(
        facetValues: json_.containsKey('facetValues')
            ? (json_['facetValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        rerankFacet: json_.containsKey('rerankFacet')
            ? json_['rerankFacet'] as core.bool
            : null,
      );