reject method

Future<T> reject(
  1. T entity
)

Implementation

Future<T> reject(T entity) async {
  return _dio
      .post(url("reject"), data: entity.toJSON())
      .then((response) => response.body<T>());
}