BareMetalVersionInfo.fromJson constructor
BareMetalVersionInfo.fromJson(
- Map json_
Implementation
BareMetalVersionInfo.fromJson(core.Map json_)
: this(
dependencies: json_.containsKey('dependencies')
? (json_['dependencies'] as core.List)
.map((value) => UpgradeDependency.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
hasDependencies: json_.containsKey('hasDependencies')
? json_['hasDependencies'] as core.bool
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);