ReservedCacheNodesOfferingMessage.fromXml constructor

ReservedCacheNodesOfferingMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory ReservedCacheNodesOfferingMessage.fromXml(_s.XmlElement elem) {
  return ReservedCacheNodesOfferingMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    reservedCacheNodesOfferings: _s
        .extractXmlChild(elem, 'ReservedCacheNodesOfferings')
        ?.let((elem) => elem
            .findElements('ReservedCacheNodesOffering')
            .map((c) => ReservedCacheNodesOffering.fromXml(c))
            .toList()),
  );
}