post method
Implementation
Future post(
String path, {
Map<String, dynamic>? params,
data,
bool isLoading = false,
bool needResponse = true,
bool isCustomResponse = false,
FailFunction? fail,
}) async {
return request(path,
method: "POST",
params: params,
data: data,
isLoading: isLoading,
needResponse: needResponse,
isCustomResponse: isCustomResponse,
fail: fail);
}