FieldPatterns.fromXml constructor

FieldPatterns.fromXml(
  1. XmlElement elem
)

Implementation

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