ListReceiptRuleSetsResponse.fromXml constructor

ListReceiptRuleSetsResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListReceiptRuleSetsResponse.fromXml(_s.XmlElement elem) {
  return ListReceiptRuleSetsResponse(
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
    ruleSets: _s.extractXmlChild(elem, 'RuleSets')?.let((elem) => elem
        .findElements('member')
        .map((c) => ReceiptRuleSetMetadata.fromXml(c))
        .toList()),
  );
}