Download.fromXMLElement constructor

Download.fromXMLElement(
  1. 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')!);