LifecycleRuleFilter.fromXml constructor

LifecycleRuleFilter.fromXml(
  1. XmlElement elem
)

Implementation

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