ApplicationDescription.fromXml constructor
ApplicationDescription.fromXml(
- XmlElement elem
Implementation
factory ApplicationDescription.fromXml(_s.XmlElement elem) {
return ApplicationDescription(
applicationArn: _s.extractXmlStringValue(elem, 'ApplicationArn'),
applicationName: _s.extractXmlStringValue(elem, 'ApplicationName'),
configurationTemplates: _s
.extractXmlChild(elem, 'ConfigurationTemplates')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
dateCreated: _s.extractXmlDateTimeValue(elem, 'DateCreated'),
dateUpdated: _s.extractXmlDateTimeValue(elem, 'DateUpdated'),
description: _s.extractXmlStringValue(elem, 'Description'),
resourceLifecycleConfig: _s
.extractXmlChild(elem, 'ResourceLifecycleConfig')
?.let((e) => ApplicationResourceLifecycleConfig.fromXml(e)),
versions: _s
.extractXmlChild(elem, 'Versions')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
);
}