FilterRule.fromXml constructor

FilterRule.fromXml(
  1. XmlElement elem
)

Implementation

factory FilterRule.fromXml(_s.XmlElement elem) {
  return FilterRule(
    name: _s.extractXmlStringValue(elem, 'Name')?.toFilterRuleName(),
    value: _s.extractXmlStringValue(elem, 'Value'),
  );
}