GoogleCloudRecommendationengineV1beta1Catalog.fromJson constructor

GoogleCloudRecommendationengineV1beta1Catalog.fromJson(
  1. Map _json
)

Implementation

GoogleCloudRecommendationengineV1beta1Catalog.fromJson(core.Map _json)
    : this(
        catalogItemLevelConfig: _json.containsKey('catalogItemLevelConfig')
            ? GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig
                .fromJson(_json['catalogItemLevelConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        defaultEventStoreId: _json.containsKey('defaultEventStoreId')
            ? _json['defaultEventStoreId'] as core.String
            : null,
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );