DescribeLoadBalancerPolicyTypesOutput.fromXml constructor

DescribeLoadBalancerPolicyTypesOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeLoadBalancerPolicyTypesOutput.fromXml(_s.XmlElement elem) {
  return DescribeLoadBalancerPolicyTypesOutput(
    policyTypeDescriptions: _s
        .extractXmlChild(elem, 'PolicyTypeDescriptions')
        ?.let((elem) => elem
            .findElements('member')
            .map((c) => PolicyTypeDescription.fromXml(c))
            .toList()),
  );
}