post<T> method
Implementation
@override
Future<Response> post<T>(
String path, dynamic body, HttpOptions? options) async {
try {
final response = await client.post(path, data: body);
return DioResponse<T>(
response.headers.map, response.data, response.statusCode);
} on dio.DioError catch (e) {
throw DioHandleError(e).build();
}
}