DomainEndpointOptions.fromXml constructor

DomainEndpointOptions.fromXml(
  1. XmlElement elem
)

Implementation

factory DomainEndpointOptions.fromXml(_s.XmlElement elem) {
  return DomainEndpointOptions(
    enforceHTTPS: _s.extractXmlBoolValue(elem, 'EnforceHTTPS'),
    tLSSecurityPolicy: _s
        .extractXmlStringValue(elem, 'TLSSecurityPolicy')
        ?.toTLSSecurityPolicy(),
  );
}