DownloadClient constructor
DownloadClient({
- Client? httpClient,
- Directory? directoryDownload,
Implementation
DownloadClient({
Client? httpClient,
Directory? directoryDownload,
}) : httpClient = httpClient ?? Client(),
directoryDownload = directoryDownload ??
Directory(path.join(Directory.current.path, "temp")) {
checkDir(directoryDownload: this.directoryDownload);
}