post static method
http POST request return Future
Implementation
static Future<Response> post(
String path, {
bool showLoading = false,
DioMethod method = DioMethod.post,
Map<String, dynamic>? params,
CancelToken? cancelToken,
Options? options,
}) {
return HttpUtils()
.request(path, showLoading: showLoading, method: method, data: params, options: options, cancelToken: cancelToken);
}