DescribeActiveReceiptRuleSetResponse.fromXml constructor
DescribeActiveReceiptRuleSetResponse.fromXml(
- XmlElement elem
Implementation
factory DescribeActiveReceiptRuleSetResponse.fromXml(_s.XmlElement elem) {
return DescribeActiveReceiptRuleSetResponse(
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()),
);
}