diff --git a/pkgs/http/test/io/client_test.dart b/pkgs/http/test/io/client_test.dart index 60903ddb93..f9e2b09db4 100644 --- a/pkgs/http/test/io/client_test.dart +++ b/pkgs/http/test/io/client_test.dart @@ -14,14 +14,20 @@ import '../utils.dart'; class TestClient extends http.BaseClient { @override - Future send(http.BaseRequest request) { + Future send( + http.BaseRequest request, + http.Progress? onSendProgress, + ) { throw UnimplementedError(); } } class TestClient2 extends http.BaseClient { @override - Future send(http.BaseRequest request) { + Future send( + http.BaseRequest request, + http.Progress? onSendProgress, + ) { throw UnimplementedError(); } } diff --git a/pkgs/http/test/io/http_test.dart b/pkgs/http/test/io/http_test.dart index a551230958..9e455f3ef0 100644 --- a/pkgs/http/test/io/http_test.dart +++ b/pkgs/http/test/io/http_test.dart @@ -11,7 +11,10 @@ import '../utils.dart'; class TestClient extends http.BaseClient { @override - Future send(http.BaseRequest request) { + Future send( + http.BaseRequest request, + http.Progress? onSendProgress, + ) { throw UnimplementedError(); } }