MaintenanceTrack.fromXml constructor
MaintenanceTrack.fromXml(
- XmlElement elem
Implementation
factory MaintenanceTrack.fromXml(_s.XmlElement elem) {
return MaintenanceTrack(
databaseVersion: _s.extractXmlStringValue(elem, 'DatabaseVersion'),
maintenanceTrackName:
_s.extractXmlStringValue(elem, 'MaintenanceTrackName'),
updateTargets: _s.extractXmlChild(elem, 'UpdateTargets')?.let((elem) =>
elem
.findElements('UpdateTarget')
.map((c) => UpdateTarget.fromXml(c))
.toList()),
);
}