Stats.fromXml constructor

Stats.fromXml(
  1. XmlElement? xml
)

Implementation

Stats.fromXml(XmlElement? xml) {
  bytesProcessed = int.tryParse(getProp(xml, 'BytesProcessed')!.innerText);
  bytesReturned = int.tryParse(getProp(xml, 'BytesReturned')!.innerText);
  bytesScanned = int.tryParse(getProp(xml, 'BytesScanned')!.innerText);
}