SftpFileWriter constructor
SftpFileWriter()
Creates a new SftpFileWriter. The upload process is started immediately after construction.
Implementation
SftpFileWriter(this.file, this.stream, this.offset, this.onProgress) {
_subscription =
stream.transform(MaxChunkSize(chunkSize)).listen(_handleLocalData);
_subscription.onDone(_handleLocalDone);
}