Redirect.fromXml constructor

Redirect.fromXml(
  1. XmlElement? xml
)

Implementation

Redirect.fromXml(XmlElement? xml) {
  hostName = getProp(xml, 'HostName')?.innerText;
  httpRedirectCode = getProp(xml, 'HttpRedirectCode')?.innerText;
  protocol = getProp(xml, 'Protocol')?.innerText;
  replaceKeyPrefixWith = getProp(xml, 'ReplaceKeyPrefixWith')?.innerText;
  replaceKeyWith = getProp(xml, 'ReplaceKeyWith')?.innerText;
}