ServiceUpdate.fromXml constructor
ServiceUpdate.fromXml(
- XmlElement elem
Implementation
factory ServiceUpdate.fromXml(_s.XmlElement elem) {
return ServiceUpdate(
autoUpdateAfterRecommendedApplyByDate:
_s.extractXmlBoolValue(elem, 'AutoUpdateAfterRecommendedApplyByDate'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
estimatedUpdateTime:
_s.extractXmlStringValue(elem, 'EstimatedUpdateTime'),
serviceUpdateDescription:
_s.extractXmlStringValue(elem, 'ServiceUpdateDescription'),
serviceUpdateEndDate:
_s.extractXmlDateTimeValue(elem, 'ServiceUpdateEndDate'),
serviceUpdateName: _s.extractXmlStringValue(elem, 'ServiceUpdateName'),
serviceUpdateRecommendedApplyByDate: _s.extractXmlDateTimeValue(
elem, 'ServiceUpdateRecommendedApplyByDate'),
serviceUpdateReleaseDate:
_s.extractXmlDateTimeValue(elem, 'ServiceUpdateReleaseDate'),
serviceUpdateSeverity: _s
.extractXmlStringValue(elem, 'ServiceUpdateSeverity')
?.toServiceUpdateSeverity(),
serviceUpdateStatus: _s
.extractXmlStringValue(elem, 'ServiceUpdateStatus')
?.toServiceUpdateStatus(),
serviceUpdateType: _s
.extractXmlStringValue(elem, 'ServiceUpdateType')
?.toServiceUpdateType(),
);
}