InsightRuleContributor.fromXml constructor
InsightRuleContributor.fromXml(
- XmlElement elem
Implementation
factory InsightRuleContributor.fromXml(_s.XmlElement elem) {
return InsightRuleContributor(
approximateAggregateValue:
_s.extractXmlDoubleValue(elem, 'ApproximateAggregateValue')!,
datapoints: _s
.extractXmlChild(elem, 'Datapoints')!
.findElements('member')
.map((c) => InsightRuleContributorDatapoint.fromXml(c))
.toList(),
keys: _s.extractXmlStringListValues(
_s.extractXmlChild(elem, 'Keys')!, 'member'),
);
}