toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('Redirect', nest: () {
builder.element('HostName', nest: hostName);
builder.element('HttpRedirectCode', nest: httpRedirectCode);
builder.element('Protocol', nest: protocol);
builder.element('ReplaceKeyPrefixWith', nest: replaceKeyPrefixWith);
builder.element('ReplaceKeyWith', nest: replaceKeyWith);
});
return builder.buildDocument();
}