Progress.fromXml constructor
Progress.fromXml(
- XmlElement? xml
Implementation
Progress.fromXml(XmlElement? xml) {
bytesProcessed = int.tryParse(getProp(xml, 'BytesProcessed')!.text);
bytesReturned = int.tryParse(getProp(xml, 'BytesReturned')!.text);
bytesScanned = int.tryParse(getProp(xml, 'BytesScanned')!.text);
}