postResponse method

Future<Response> postResponse(
  1. Uri uri, {
  2. Map<String, String>? headers,
})

Returns the response of the given url after a POST request. This process is async, thus the response is returned as a future response instance.

Implementation

Future<http.Response> postResponse(
  Uri uri, {
  Map<String, String>? headers,
}) async =>
    _client.post(uri, headers: headers);