MetricsConfiguration.fromXml constructor

MetricsConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory MetricsConfiguration.fromXml(_s.XmlElement elem) {
  return MetricsConfiguration(
    id: _s.extractXmlStringValue(elem, 'Id')!,
    filter: _s
        .extractXmlChild(elem, 'Filter')
        ?.let((e) => MetricsFilter.fromXml(e)),
  );
}