ConfigMapVolumeSource.fromJson constructor
ConfigMapVolumeSource.fromJson(
- Map json_
Implementation
ConfigMapVolumeSource.fromJson(core.Map json_)
: this(
defaultMode: json_.containsKey('defaultMode')
? json_['defaultMode'] as core.int
: null,
items: json_.containsKey('items')
? (json_['items'] as core.List)
.map((value) => KeyToPath.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
optional: json_.containsKey('optional')
? json_['optional'] as core.bool
: null,
);