GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse.fromJson constructor

GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse.fromJson(
    core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        predictionApiKeyRegistrations: _json
                .containsKey('predictionApiKeyRegistrations')
            ? (_json['predictionApiKeyRegistrations'] as core.List)
                .map<GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration>(
                    (value) =>
                        GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );