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