ReservedNodesMessage.fromXml constructor

ReservedNodesMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory ReservedNodesMessage.fromXml(_s.XmlElement elem) {
  return ReservedNodesMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    reservedNodes: _s.extractXmlChild(elem, 'ReservedNodes')?.let((elem) =>
        elem
            .findElements('ReservedNode')
            .map((c) => ReservedNode.fromXml(c))
            .toList()),
  );
}