BlockDeviceMapping.fromXml constructor
BlockDeviceMapping.fromXml(
- XmlElement elem
Implementation
factory BlockDeviceMapping.fromXml(_s.XmlElement elem) {
return BlockDeviceMapping(
deviceName: _s.extractXmlStringValue(elem, 'DeviceName')!,
ebs: _s.extractXmlChild(elem, 'Ebs')?.let((e) => Ebs.fromXml(e)),
noDevice: _s.extractXmlBoolValue(elem, 'NoDevice'),
virtualName: _s.extractXmlStringValue(elem, 'VirtualName'),
);
}