GoogleCloudRecommenderV1ListRecommendationsResponse.fromJson constructor

GoogleCloudRecommenderV1ListRecommendationsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommenderV1ListRecommendationsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        recommendations: json_.containsKey('recommendations')
            ? (json_['recommendations'] as core.List)
                .map((value) =>
                    GoogleCloudRecommenderV1Recommendation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );