Paths.fromXml constructor

Paths.fromXml(
  1. XmlElement elem
)

Implementation

factory Paths.fromXml(_s.XmlElement elem) {
  return Paths(
    quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
    items: _s
        .extractXmlChild(elem, 'Items')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'Path')),
  );
}