Revert "Remove TODOs added for HTTP abort() change in dart sdk (#63924)" (#63972)

This reverts commit b1c17313f6.
This commit is contained in:
Jonah Williams
2020-08-17 10:25:01 -07:00
committed by GitHub
parent b1c17313f6
commit 08254b2156
2 changed files with 4 additions and 0 deletions

View File

@@ -228,7 +228,9 @@ class _MockHttpRequest extends HttpClientRequest {
return Future<HttpClientResponse>.value(_MockHttpResponse());
}
// TODO(zichangguo): remove the ignore after the change in dart:io lands.
@override
// ignore: override_on_non_overriding_member
void abort([Object exception, StackTrace stackTrace]) {}
@override

View File

@@ -378,7 +378,9 @@ class FakeHttpClientRequest implements HttpClientRequest {
@override
void writeln([Object obj = '']) {}
// TODO(zichangguo): remove the ignore after the change in dart:io lands.
@override
// ignore: override_on_non_overriding_member
void abort([Object exception, StackTrace stackTrace]) {}
}