Stats.fromXml constructor

Stats.fromXml(
  1. XmlElement? xml
)

Implementation

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