toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('CORSConfiguration', nest: () {
    builder.element('CORSRules', nest: cORSRules!.toXml());
  });
  return builder.buildDocument();
}