StackEvent.fromXml constructor
StackEvent.fromXml(
- XmlElement elem
Implementation
factory StackEvent.fromXml(_s.XmlElement elem) {
return StackEvent(
eventId: _s.extractXmlStringValue(elem, 'EventId')!,
stackId: _s.extractXmlStringValue(elem, 'StackId')!,
stackName: _s.extractXmlStringValue(elem, 'StackName')!,
timestamp: _s.extractXmlDateTimeValue(elem, 'Timestamp')!,
clientRequestToken: _s.extractXmlStringValue(elem, 'ClientRequestToken'),
logicalResourceId: _s.extractXmlStringValue(elem, 'LogicalResourceId'),
physicalResourceId: _s.extractXmlStringValue(elem, 'PhysicalResourceId'),
resourceProperties: _s.extractXmlStringValue(elem, 'ResourceProperties'),
resourceStatus:
_s.extractXmlStringValue(elem, 'ResourceStatus')?.toResourceStatus(),
resourceStatusReason:
_s.extractXmlStringValue(elem, 'ResourceStatusReason'),
resourceType: _s.extractXmlStringValue(elem, 'ResourceType'),
);
}