post method

Future<Response> post({
  1. Map<String, String>? headers,
  2. Object? body,
})

Implementation

Future<http.Response> post({Map<String, String>? headers, Object? body}) {
  return client.post(requestUrl,
      headers: requestHeaders, body: jsonEncode(body));
}