CustomAvailabilityZoneMessage.fromXml constructor

CustomAvailabilityZoneMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory CustomAvailabilityZoneMessage.fromXml(_s.XmlElement elem) {
  return CustomAvailabilityZoneMessage(
    customAvailabilityZones: _s
        .extractXmlChild(elem, 'CustomAvailabilityZones')
        ?.let((elem) => elem
            .findElements('CustomAvailabilityZone')
            .map((c) => CustomAvailabilityZone.fromXml(c))
            .toList()),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}