close method

  1. @override
Future<HttpClientResponse> close()
override

Close the request for input. Returns the value of done.

Implementation

@override
Future<HttpClientResponse> close() =>
    // ignore: invalid_use_of_visible_for_testing_member
    super.noSuchMethod(Invocation.method(#close, []),
            returnValue: Future.value(MockHttpClientResponse()))
        as Future<HttpClientResponse>;