BootDiskDefaults.fromJson constructor
BootDiskDefaults.fromJson(
- Map json_
Implementation
BootDiskDefaults.fromJson(core.Map json_)
: this(
deviceName: json_.containsKey('deviceName')
? json_['deviceName'] as core.String
: null,
diskName: json_.containsKey('diskName')
? json_['diskName'] as core.String
: null,
diskType: json_.containsKey('diskType')
? json_['diskType'] as core.String
: null,
encryption: json_.containsKey('encryption')
? Encryption.fromJson(
json_['encryption'] as core.Map<core.String, core.dynamic>)
: null,
image: json_.containsKey('image')
? DiskImageDefaults.fromJson(
json_['image'] as core.Map<core.String, core.dynamic>)
: null,
);