EnvVarSource.fromJson constructor

EnvVarSource.fromJson(
  1. Map json_
)

Implementation

EnvVarSource.fromJson(core.Map json_)
    : this(
        configMapKeyRef: json_.containsKey('configMapKeyRef')
            ? ConfigMapKeySelector.fromJson(json_['configMapKeyRef']
                as core.Map<core.String, core.dynamic>)
            : null,
        secretKeyRef: json_.containsKey('secretKeyRef')
            ? SecretKeySelector.fromJson(
                json_['secretKeyRef'] as core.Map<core.String, core.dynamic>)
            : null,
      );