DescribeAnomalyDetectorsOutput.fromXml constructor

DescribeAnomalyDetectorsOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeAnomalyDetectorsOutput.fromXml(_s.XmlElement elem) {
  return DescribeAnomalyDetectorsOutput(
    anomalyDetectors: _s.extractXmlChild(elem, 'AnomalyDetectors')?.let(
        (elem) => elem
            .findElements('member')
            .map((c) => AnomalyDetector.fromXml(c))
            .toList()),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}