KubernetesClusterConfig.fromJson constructor

KubernetesClusterConfig.fromJson(
  1. Map json_
)

Implementation

KubernetesClusterConfig.fromJson(core.Map json_)
    : this(
        gkeClusterConfig: json_.containsKey('gkeClusterConfig')
            ? GkeClusterConfig.fromJson(json_['gkeClusterConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        kubernetesNamespace: json_.containsKey('kubernetesNamespace')
            ? json_['kubernetesNamespace'] as core.String
            : null,
        kubernetesSoftwareConfig:
            json_.containsKey('kubernetesSoftwareConfig')
                ? KubernetesSoftwareConfig.fromJson(
                    json_['kubernetesSoftwareConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );