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