post method

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

Implementation

Future<Response> post({required Map<String, String> headers, body}) async {
  return await http.post(this.url as Uri, headers: headers, body: body);
}