post method
Sends an HTTP POST request with the given headers and body to the given URL. The url should be a String. The headers should be a Map<String, String>. The body can be a List or a Map.
This method executes and return a http.Response
instance.
Implementation
Future<http.Response> post({
required String url,
Map<String, String> headers = const {},
body}) async {
return _request(_HttpMethod.post, url, headers, body);
}