Progress.fromXml constructor

Progress.fromXml(
  1. XmlElement elem
)

Implementation

factory Progress.fromXml(_s.XmlElement elem) {
  return Progress(
    bytesProcessed: _s.extractXmlIntValue(elem, 'BytesProcessed'),
    bytesReturned: _s.extractXmlIntValue(elem, 'BytesReturned'),
    bytesScanned: _s.extractXmlIntValue(elem, 'BytesScanned'),
  );
}