Upload.fromXMLElement constructor
Upload.fromXMLElement(
- XmlElement element
Implementation
Upload.fromXMLElement(XmlElement element)
: this.TestLength = int.parse(element.getAttribute('testlength')!),
this.Ratio = int.parse(element.getAttribute('ratio')!),
this.InitialTest = int.parse(element.getAttribute('initialtest')!),
this.MinTestSize = element.getAttribute('mintestsize')!,
this.Threads = int.parse(element.getAttribute('threads')!),
this.MaxChunkSize = element.getAttribute('maxchunksize')!,
this.MaxChunkCount = element.getAttribute('maxchunkcount')!,
this.ThreadsPerUrl = int.parse(element.getAttribute('threadsperurl')!);