toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('ReplicationRuleAndOperator', nest: () {
    builder.element('Prefix', nest: prefix);
    builder.element('Tags', nest: tags!.toXml());
  });
  return builder.buildDocument();
}