toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('S3KeyFilter', nest: () {
    builder.element('FilterRules', nest: filterRules!.toXml());
  });
  return builder.buildDocument();
}