DescribeInsightRulesOutput.fromXml constructor

DescribeInsightRulesOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeInsightRulesOutput.fromXml(_s.XmlElement elem) {
  return DescribeInsightRulesOutput(
    insightRules: _s.extractXmlChild(elem, 'InsightRules')?.let((elem) => elem
        .findElements('InsightRules')
        .map((c) => InsightRule.fromXml(c))
        .toList()),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}