toXml method

XmlNode toXml()

Implementation

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