GetReservedNodeExchangeOfferingsOutputMessage.fromXml constructor

GetReservedNodeExchangeOfferingsOutputMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory GetReservedNodeExchangeOfferingsOutputMessage.fromXml(
    _s.XmlElement elem) {
  return GetReservedNodeExchangeOfferingsOutputMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    reservedNodeOfferings: _s
        .extractXmlChild(elem, 'ReservedNodeOfferings')
        ?.let((elem) => elem
            .findElements('ReservedNodeOffering')
            .map((c) => ReservedNodeOffering.fromXml(c))
            .toList()),
  );
}