GetMetricDataOutput.fromXml constructor
GetMetricDataOutput.fromXml(
- XmlElement elem
Implementation
factory GetMetricDataOutput.fromXml(_s.XmlElement elem) {
return GetMetricDataOutput(
messages: _s.extractXmlChild(elem, 'Messages')?.let((elem) => elem
.findElements('member')
.map((c) => MessageData.fromXml(c))
.toList()),
metricDataResults: _s.extractXmlChild(elem, 'MetricDataResults')?.let(
(elem) => elem
.findElements('member')
.map((c) => MetricDataResult.fromXml(c))
.toList()),
nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
);
}