patch method

Future<Response> patch(
  1. String path, {
  2. dynamic data,
})

Implementation

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