post method
- String path, {
- dynamic data,
Implementation
Future<Response> post(String path, {dynamic data}) async {
try {
final response = await _dio.post(path, data: data);
return response;
} on DioException catch (e) {
throw _handleError(e);
}
}