GoogleCloudRecommenderV1InsightStateInfo.fromJson constructor

GoogleCloudRecommenderV1InsightStateInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommenderV1InsightStateInfo.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,
      );