TargetTrackingConfiguration.fromXml constructor
TargetTrackingConfiguration.fromXml(
- XmlElement elem
Implementation
factory TargetTrackingConfiguration.fromXml(_s.XmlElement elem) {
return TargetTrackingConfiguration(
targetValue: _s.extractXmlDoubleValue(elem, 'TargetValue')!,
customizedMetricSpecification: _s
.extractXmlChild(elem, 'CustomizedMetricSpecification')
?.let((e) => CustomizedMetricSpecification.fromXml(e)),
disableScaleIn: _s.extractXmlBoolValue(elem, 'DisableScaleIn'),
predefinedMetricSpecification: _s
.extractXmlChild(elem, 'PredefinedMetricSpecification')
?.let((e) => PredefinedMetricSpecification.fromXml(e)),
);
}