ConfigMapEnvSource.fromJson constructor

ConfigMapEnvSource.fromJson(
  1. Map json_
)

Implementation

ConfigMapEnvSource.fromJson(core.Map json_)
    : this(
        localObjectReference: json_.containsKey('localObjectReference')
            ? LocalObjectReference.fromJson(json_['localObjectReference']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        optional: json_.containsKey('optional')
            ? json_['optional'] as core.bool
            : null,
      );