KubernetesSoftwareConfig.fromJson constructor

KubernetesSoftwareConfig.fromJson(
  1. Map json_
)

Implementation

KubernetesSoftwareConfig.fromJson(core.Map json_)
    : this(
        componentVersion: json_.containsKey('componentVersion')
            ? (json_['componentVersion']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        properties: json_.containsKey('properties')
            ? (json_['properties'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );