MetricsFilter.fromXml constructor

MetricsFilter.fromXml(
  1. XmlElement? xml
)

Implementation

MetricsFilter.fromXml(XmlElement? xml) {
  and = MetricsAndOperator.fromXml(getProp(xml, 'And'));
  prefix = getProp(xml, 'Prefix')?.innerText;
  tag = Tag.fromXml(getProp(xml, 'Tag'));
}