OptionGroups.fromXml constructor

OptionGroups.fromXml(
  1. XmlElement elem
)

Implementation

factory OptionGroups.fromXml(_s.XmlElement elem) {
  return OptionGroups(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    optionGroupsList: _s.extractXmlChild(elem, 'OptionGroupsList')?.let(
        (elem) => elem
            .findElements('OptionGroup')
            .map((c) => OptionGroup.fromXml(c))
            .toList()),
  );
}