fix(service): Fix missing type

This commit is contained in:
PapaTutuWawa 2022-12-24 22:33:54 +01:00
parent 4b1942b949
commit 3774760548

View File

@ -361,7 +361,7 @@ class HttpFileTransferService {
// Prepare file and completer. // Prepare file and completer.
final file = await File(downloadedPath).create(); final file = await File(downloadedPath).create();
final fileSink = file.openWrite(mode: FileMode.writeOnlyAppend); final fileSink = file.openWrite(mode: FileMode.writeOnlyAppend);
final downloadCompleter = Completer(); final downloadCompleter = Completer<void>();
dio.Response<dio.ResponseBody>? response; dio.Response<dio.ResponseBody>? response;