ClusterUpgradeMembershipState.fromJson constructor

ClusterUpgradeMembershipState.fromJson(
  1. Map json_
)

Implementation

ClusterUpgradeMembershipState.fromJson(core.Map json_)
    : this(
        ignored: json_.containsKey('ignored')
            ? ClusterUpgradeIgnoredMembership.fromJson(
                json_['ignored'] as core.Map<core.String, core.dynamic>)
            : null,
        upgrades: json_.containsKey('upgrades')
            ? (json_['upgrades'] as core.List)
                .map((value) =>
                    ClusterUpgradeMembershipGKEUpgradeState.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );