DescribeAlarmsOutput.fromXml constructor
DescribeAlarmsOutput.fromXml(
- XmlElement elem
Implementation
factory DescribeAlarmsOutput.fromXml(_s.XmlElement elem) {
return DescribeAlarmsOutput(
compositeAlarms: _s.extractXmlChild(elem, 'CompositeAlarms')?.let(
(elem) => elem
.findElements('member')
.map((c) => CompositeAlarm.fromXml(c))
.toList()),
metricAlarms: _s.extractXmlChild(elem, 'MetricAlarms')?.let((elem) => elem
.findElements('member')
.map((c) => MetricAlarm.fromXml(c))
.toList()),
nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
);
}