InsightRuleContributorDatapoint.fromXml constructor

InsightRuleContributorDatapoint.fromXml(
  1. XmlElement elem
)

Implementation

factory InsightRuleContributorDatapoint.fromXml(_s.XmlElement elem) {
  return InsightRuleContributorDatapoint(
    approximateValue: _s.extractXmlDoubleValue(elem, 'ApproximateValue')!,
    timestamp: _s.extractXmlDateTimeValue(elem, 'Timestamp')!,
  );
}