getUrl method
Opens a HTTP connection using the GET method.
The URL to use is specified in url
.
See openUrl for details.
Implementation
@override
Future<HttpClientRequest> getUrl(Uri? url) {
// ignore: invalid_use_of_visible_for_testing_member
return super.noSuchMethod(Invocation.method(#getUrl, [url]),
returnValue: Future.value(MockHttpClientRequest()))
as Future<HttpClientRequest>;
}