toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('WebsiteConfiguration', nest: () {
builder.element('ErrorDocument', nest: errorDocument!.toXml());
builder.element('IndexDocument', nest: indexDocument!.toXml());
builder.element('RedirectAllRequestsTo',
nest: redirectAllRequestsTo!.toXml());
builder.element('RoutingRules', nest: routingRules!.toXml());
});
return builder.buildDocument();
}