UpgradeTarget.fromXml constructor
UpgradeTarget.fromXml(
- XmlElement elem
Implementation
factory UpgradeTarget.fromXml(_s.XmlElement elem) {
return UpgradeTarget(
autoUpgrade: _s.extractXmlBoolValue(elem, 'AutoUpgrade'),
description: _s.extractXmlStringValue(elem, 'Description'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
isMajorVersionUpgrade:
_s.extractXmlBoolValue(elem, 'IsMajorVersionUpgrade'),
);
}