OriginGroupMembers.fromXml constructor

OriginGroupMembers.fromXml(
  1. XmlElement elem
)

Implementation

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