DescribeReceiptRuleSetResponse.fromXml constructor
DescribeReceiptRuleSetResponse.fromXml(
- XmlElement elem
Implementation
factory DescribeReceiptRuleSetResponse.fromXml(_s.XmlElement elem) {
return DescribeReceiptRuleSetResponse(
metadata: _s
.extractXmlChild(elem, 'Metadata')
?.let((e) => ReceiptRuleSetMetadata.fromXml(e)),
rules: _s.extractXmlChild(elem, 'Rules')?.let((elem) => elem
.findElements('member')
.map((c) => ReceiptRule.fromXml(c))
.toList()),
);
}