DescribeRulesOutput.fromXml constructor

DescribeRulesOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeRulesOutput.fromXml(_s.XmlElement elem) {
  return DescribeRulesOutput(
    nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
    rules: _s.extractXmlChild(elem, 'Rules')?.let((elem) =>
        elem.findElements('member').map((c) => Rule.fromXml(c)).toList()),
  );
}