RedirectAllRequestsTo.fromXml constructor

RedirectAllRequestsTo.fromXml(
  1. XmlElement elem
)

Implementation

factory RedirectAllRequestsTo.fromXml(_s.XmlElement elem) {
  return RedirectAllRequestsTo(
    hostName: _s.extractXmlStringValue(elem, 'HostName')!,
    protocol: _s.extractXmlStringValue(elem, 'Protocol')?.toProtocol(),
  );
}