SoftwareConfig.fromJson constructor
SoftwareConfig.fromJson(
- Map json_
Implementation
SoftwareConfig.fromJson(core.Map json_)
: this(
imageVersion: json_.containsKey('imageVersion')
? json_['imageVersion'] as core.String
: null,
optionalComponents: json_.containsKey('optionalComponents')
? (json_['optionalComponents'] as core.List)
.map((value) => value as core.String)
.toList()
: 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,
);