GoogleCloudRecommenderV1RecommendationStateInfo.fromJson constructor

GoogleCloudRecommenderV1RecommendationStateInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommenderV1RecommendationStateInfo.fromJson(core.Map json_)
    : this(
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateMetadata: json_.containsKey('stateMetadata')
            ? (json_['stateMetadata'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );