BounceAction.fromXml constructor

BounceAction.fromXml(
  1. XmlElement elem
)

Implementation

factory BounceAction.fromXml(_s.XmlElement elem) {
  return BounceAction(
    message: _s.extractXmlStringValue(elem, 'Message')!,
    sender: _s.extractXmlStringValue(elem, 'Sender')!,
    smtpReplyCode: _s.extractXmlStringValue(elem, 'SmtpReplyCode')!,
    statusCode: _s.extractXmlStringValue(elem, 'StatusCode'),
    topicArn: _s.extractXmlStringValue(elem, 'TopicArn'),
  );
}