toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('RoutingRule', nest: () {
    builder.element('Condition', nest: condition!.toXml());
    builder.element('Redirect', nest: redirect!.toXml());
  });
  return builder.buildDocument();
}