ClusterUpgradeGKEUpgradeFeatureState.fromJson constructor

ClusterUpgradeGKEUpgradeFeatureState.fromJson(
  1. Map json_
)

Implementation

ClusterUpgradeGKEUpgradeFeatureState.fromJson(core.Map json_)
    : this(
        conditions: json_.containsKey('conditions')
            ? (json_['conditions'] as core.List)
                .map((value) =>
                    ClusterUpgradeGKEUpgradeFeatureCondition.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        upgradeState: json_.containsKey('upgradeState')
            ? (json_['upgradeState'] as core.List)
                .map((value) => ClusterUpgradeGKEUpgradeState.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );