AnalyticsFilter.fromXml constructor

AnalyticsFilter.fromXml(
  1. XmlElement elem
)

Implementation

factory AnalyticsFilter.fromXml(_s.XmlElement elem) {
  return AnalyticsFilter(
    and: _s
        .extractXmlChild(elem, 'And')
        ?.let((e) => AnalyticsAndOperator.fromXml(e)),
    prefix: _s.extractXmlStringValue(elem, 'Prefix'),
    tag: _s.extractXmlChild(elem, 'Tag')?.let((e) => Tag.fromXml(e)),
  );
}