SetSubnetsOutput.fromXml constructor

SetSubnetsOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory SetSubnetsOutput.fromXml(_s.XmlElement elem) {
  return SetSubnetsOutput(
    availabilityZones: _s.extractXmlChild(elem, 'AvailabilityZones')?.let(
        (elem) => elem
            .findElements('member')
            .map((c) => AvailabilityZone.fromXml(c))
            .toList()),
    ipAddressType:
        _s.extractXmlStringValue(elem, 'IpAddressType')?.toIpAddressType(),
  );
}