MetricsFilter.fromXml constructor

MetricsFilter.fromXml(
  1. XmlElement? xml
)

Implementation

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