ClusterVersionsMessage.fromXml constructor

ClusterVersionsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory ClusterVersionsMessage.fromXml(_s.XmlElement elem) {
  return ClusterVersionsMessage(
    clusterVersions: _s.extractXmlChild(elem, 'ClusterVersions')?.let(
        (elem) => elem
            .findElements('ClusterVersion')
            .map((c) => ClusterVersion.fromXml(c))
            .toList()),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}