Redirect.fromXml constructor
Redirect.fromXml(
- XmlElement elem
Implementation
factory Redirect.fromXml(_s.XmlElement elem) {
return Redirect(
hostName: _s.extractXmlStringValue(elem, 'HostName'),
httpRedirectCode: _s.extractXmlStringValue(elem, 'HttpRedirectCode'),
protocol: _s.extractXmlStringValue(elem, 'Protocol')?.toProtocol(),
replaceKeyPrefixWith:
_s.extractXmlStringValue(elem, 'ReplaceKeyPrefixWith'),
replaceKeyWith: _s.extractXmlStringValue(elem, 'ReplaceKeyWith'),
);
}