Redirect.fromXml constructor

Redirect.fromXml(
  1. XmlElement? xml
)

Implementation

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