ConfigMapKeySelector.fromJson constructor

ConfigMapKeySelector.fromJson(
  1. Map json_
)

Implementation

ConfigMapKeySelector.fromJson(core.Map json_)
    : this(
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        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,
      );