StackSummary.fromXml constructor
StackSummary.fromXml(
- XmlElement elem
Implementation
factory StackSummary.fromXml(_s.XmlElement elem) {
return StackSummary(
creationTime: _s.extractXmlDateTimeValue(elem, 'CreationTime')!,
stackName: _s.extractXmlStringValue(elem, 'StackName')!,
stackStatus:
_s.extractXmlStringValue(elem, 'StackStatus')!.toStackStatus(),
deletionTime: _s.extractXmlDateTimeValue(elem, 'DeletionTime'),
driftInformation: _s
.extractXmlChild(elem, 'DriftInformation')
?.let((e) => StackDriftInformationSummary.fromXml(e)),
lastUpdatedTime: _s.extractXmlDateTimeValue(elem, 'LastUpdatedTime'),
parentId: _s.extractXmlStringValue(elem, 'ParentId'),
rootId: _s.extractXmlStringValue(elem, 'RootId'),
stackId: _s.extractXmlStringValue(elem, 'StackId'),
stackStatusReason: _s.extractXmlStringValue(elem, 'StackStatusReason'),
templateDescription:
_s.extractXmlStringValue(elem, 'TemplateDescription'),
);
}