Redirect.fromXml constructor

Redirect.fromXml(
  1. XmlElement? xml
)

Implementation

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