DescribeLoadBalancersOutput.fromXml constructor

DescribeLoadBalancersOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeLoadBalancersOutput.fromXml(_s.XmlElement elem) {
  return DescribeLoadBalancersOutput(
    loadBalancers: _s.extractXmlChild(elem, 'LoadBalancers')?.let((elem) =>
        elem
            .findElements('member')
            .map((c) => LoadBalancer.fromXml(c))
            .toList()),
    nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
  );
}