ReplicationRuleFilter.fromXml constructor

ReplicationRuleFilter.fromXml(
  1. XmlElement elem
)

Implementation

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