OptionGroupOptionsMessage.fromXml constructor

OptionGroupOptionsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory OptionGroupOptionsMessage.fromXml(_s.XmlElement elem) {
  return OptionGroupOptionsMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    optionGroupOptions: _s.extractXmlChild(elem, 'OptionGroupOptions')?.let(
        (elem) => elem
            .findElements('OptionGroupOption')
            .map((c) => OptionGroupOption.fromXml(c))
            .toList()),
  );
}