delete<T> method

Future delete<T>(
  1. dynamic path, {
  2. Options? options,
})

Implementation

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