QueryArgProfiles.fromXml constructor

QueryArgProfiles.fromXml(
  1. XmlElement elem
)

Implementation

factory QueryArgProfiles.fromXml(_s.XmlElement elem) {
  return QueryArgProfiles(
    quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
    items: _s.extractXmlChild(elem, 'Items')?.let((elem) => elem
        .findElements('QueryArgProfile')
        .map((c) => QueryArgProfile.fromXml(c))
        .toList()),
  );
}