LoadBalancerDescription.fromXml constructor

LoadBalancerDescription.fromXml(
  1. XmlElement elem
)

Implementation

factory LoadBalancerDescription.fromXml(_s.XmlElement elem) {
  return LoadBalancerDescription(
    domain: _s.extractXmlStringValue(elem, 'Domain'),
    listeners: _s.extractXmlChild(elem, 'Listeners')?.let((elem) =>
        elem.findElements('member').map((c) => Listener.fromXml(c)).toList()),
    loadBalancerName: _s.extractXmlStringValue(elem, 'LoadBalancerName'),
  );
}