Download.fromXMLElement constructor
Download.fromXMLElement(
- XmlElement? element
Implementation
Download.fromXMLElement(XmlElement? element)
: testLength = int.parse(element!.getAttribute('testlength')!),
initialTest = element.getAttribute('initialtest')!,
minTestSize = element.getAttribute('mintestsize')!,
threadsPerUrl = int.parse(element.getAttribute('threadsperurl')!);