InstallationMedia.fromXml constructor
InstallationMedia.fromXml(
- XmlElement elem
Implementation
factory InstallationMedia.fromXml(_s.XmlElement elem) {
return InstallationMedia(
customAvailabilityZoneId:
_s.extractXmlStringValue(elem, 'CustomAvailabilityZoneId'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineInstallationMediaPath:
_s.extractXmlStringValue(elem, 'EngineInstallationMediaPath'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
failureCause: _s
.extractXmlChild(elem, 'FailureCause')
?.let((e) => InstallationMediaFailureCause.fromXml(e)),
installationMediaId:
_s.extractXmlStringValue(elem, 'InstallationMediaId'),
oSInstallationMediaPath:
_s.extractXmlStringValue(elem, 'OSInstallationMediaPath'),
status: _s.extractXmlStringValue(elem, 'Status'),
);
}