DataTask constructor
DataTask(})
Implementation
DataTask(this.id, this.type, this.localPath, this.offset, this.serverAddr,
this.fileInfo,
{this.shouldTruncate = false, this.bufferSize = 4096})
: startAt = DateTime.now();