patch<T> method

Future patch<T>(
  1. dynamic path, {
  2. Map? data,
  3. Options? options,
})

Implementation

Future patch<T>(path, {Map? data, Options? options}) async {
  try {
    Response response =
        await Dio(baseOptions).patch(path, data: data, options: options);
    hanleData<T>(response);
  } on DioError catch (e) {
    createErrorEntity(e);
  }
}