AnomalyDetectorConfiguration.fromXml constructor
AnomalyDetectorConfiguration.fromXml(
- XmlElement elem
Implementation
factory AnomalyDetectorConfiguration.fromXml(_s.XmlElement elem) {
return AnomalyDetectorConfiguration(
excludedTimeRanges: _s.extractXmlChild(elem, 'ExcludedTimeRanges')?.let(
(elem) => elem
.findElements('member')
.map((c) => Range.fromXml(c))
.toList()),
metricTimezone: _s.extractXmlStringValue(elem, 'MetricTimezone'),
);
}