PredefinedMetricSpecification.fromXml constructor
PredefinedMetricSpecification.fromXml(
- XmlElement elem
Implementation
factory PredefinedMetricSpecification.fromXml(_s.XmlElement elem) {
return PredefinedMetricSpecification(
predefinedMetricType: _s
.extractXmlStringValue(elem, 'PredefinedMetricType')!
.toMetricType(),
resourceLabel: _s.extractXmlStringValue(elem, 'ResourceLabel'),
);
}