GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet.fromJson constructor

GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet.fromJson(
    core.Map json_)
    : this(
        mergedFacetKey: json_.containsKey('mergedFacetKey')
            ? json_['mergedFacetKey'] as core.String
            : null,
        mergedFacetValues: json_.containsKey('mergedFacetValues')
            ? (json_['mergedFacetValues'] as core.List)
                .map((value) =>
                    GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );