GoogleCloudRecommendationengineV1beta1CatalogInlineSource.fromJson constructor

GoogleCloudRecommendationengineV1beta1CatalogInlineSource.fromJson(
  1. Map _json
)

Implementation

GoogleCloudRecommendationengineV1beta1CatalogInlineSource.fromJson(
    core.Map _json)
    : this(
        catalogItems: _json.containsKey('catalogItems')
            ? (_json['catalogItems'] as core.List)
                .map((value) =>
                    GoogleCloudRecommendationengineV1beta1CatalogItem
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );