Download.fromXMLElement constructor

Download.fromXMLElement(
  1. XmlElement element
)

Implementation

Download.fromXMLElement(XmlElement element)
    : this.TestLength = int.parse(element.getAttribute('testlength')!),
      this.InitialTest = element.getAttribute('initialtest')!,
      this.MinTestSize = element.getAttribute('mintestsize')!,
      this.ThreadsPerUrl = int.parse(element.getAttribute('threadsperurl')!);