KubernetesConfig.fromJson constructor

KubernetesConfig.fromJson(
  1. Map json_
)

Implementation

KubernetesConfig.fromJson(core.Map json_)
  : this(
      gatewayServiceMesh:
          json_.containsKey('gatewayServiceMesh')
              ? GatewayServiceMesh.fromJson(
                json_['gatewayServiceMesh']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      serviceNetworking:
          json_.containsKey('serviceNetworking')
              ? ServiceNetworking.fromJson(
                json_['serviceNetworking']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );