ReceiptAction.fromXml constructor
ReceiptAction.fromXml(
- XmlElement elem
Implementation
factory ReceiptAction.fromXml(_s.XmlElement elem) {
return ReceiptAction(
addHeaderAction: _s
.extractXmlChild(elem, 'AddHeaderAction')
?.let((e) => AddHeaderAction.fromXml(e)),
bounceAction: _s
.extractXmlChild(elem, 'BounceAction')
?.let((e) => BounceAction.fromXml(e)),
lambdaAction: _s
.extractXmlChild(elem, 'LambdaAction')
?.let((e) => LambdaAction.fromXml(e)),
s3Action:
_s.extractXmlChild(elem, 'S3Action')?.let((e) => S3Action.fromXml(e)),
sNSAction: _s
.extractXmlChild(elem, 'SNSAction')
?.let((e) => SNSAction.fromXml(e)),
stopAction: _s
.extractXmlChild(elem, 'StopAction')
?.let((e) => StopAction.fromXml(e)),
workmailAction: _s
.extractXmlChild(elem, 'WorkmailAction')
?.let((e) => WorkmailAction.fromXml(e)),
);
}