Listener.fromXml constructor

Listener.fromXml(
  1. XmlElement elem
)

Implementation

factory Listener.fromXml(_s.XmlElement elem) {
  return Listener(
    instancePort: _s.extractXmlIntValue(elem, 'InstancePort')!,
    loadBalancerPort: _s.extractXmlIntValue(elem, 'LoadBalancerPort')!,
    protocol: _s.extractXmlStringValue(elem, 'Protocol')!,
    instanceProtocol: _s.extractXmlStringValue(elem, 'InstanceProtocol'),
    sSLCertificateId: _s.extractXmlStringValue(elem, 'SSLCertificateId'),
  );
}