ReservedNodeOfferingsMessage.fromXml constructor

ReservedNodeOfferingsMessage.fromXml(
  1. XmlElement elem
)

Implementation

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