NodeConfigurationOptionsMessage.fromXml constructor

NodeConfigurationOptionsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory NodeConfigurationOptionsMessage.fromXml(_s.XmlElement elem) {
  return NodeConfigurationOptionsMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    nodeConfigurationOptionList: _s
        .extractXmlChild(elem, 'NodeConfigurationOptionList')
        ?.let((elem) => elem
            .findElements('NodeConfigurationOption')
            .map((c) => NodeConfigurationOption.fromXml(c))
            .toList()),
  );
}