Skip to content

Commit

Permalink
.call removed from request.onUploadProgress!
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehmetyaz committed Aug 13, 2022
1 parent 6a904a4 commit d0bbd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/http/lib/src/io_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class IOClient extends BaseClient {
ByteStream(stream.transform(StreamTransformer.fromBind((d) async* {
await for (var data in d) {
load += data.length;
request.onUploadProgress!.call(contentLength, load);
request.onUploadProgress!(contentLength, load);
yield data;
}
})));
Expand Down

0 comments on commit d0bbd59

Please sign in to comment.