StatusCodes.fromXml constructor

StatusCodes.fromXml(
  1. XmlElement elem
)

Implementation

factory StatusCodes.fromXml(_s.XmlElement elem) {
  return StatusCodes(
    items: _s.extractXmlIntListValues(
        _s.extractXmlChild(elem, 'Items')!, 'StatusCode'),
    quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
  );
}