CustomAvailabilityZone.fromXml constructor

CustomAvailabilityZone.fromXml(
  1. XmlElement elem
)

Implementation

factory CustomAvailabilityZone.fromXml(_s.XmlElement elem) {
  return CustomAvailabilityZone(
    customAvailabilityZoneId:
        _s.extractXmlStringValue(elem, 'CustomAvailabilityZoneId'),
    customAvailabilityZoneName:
        _s.extractXmlStringValue(elem, 'CustomAvailabilityZoneName'),
    customAvailabilityZoneStatus:
        _s.extractXmlStringValue(elem, 'CustomAvailabilityZoneStatus'),
    vpnDetails: _s
        .extractXmlChild(elem, 'VpnDetails')
        ?.let((e) => VpnDetails.fromXml(e)),
  );
}