HttpPost typedef
HttpPost =
Future<Response> Function(Uri url, {Object? body, Encoding? encoding, Map<String, String> ? headers})
The function to make http post.
Implementation
typedef HttpPost = Future<http.Response> Function(
Uri url, {
Map<String, String>? headers,
Object? body,
Encoding? encoding,
});