reject method

Future<T> reject(
  1. T entity
)

Implementation

Future<T> reject(T entity) async {
  return dio
      .post(
        '/reject',
        data: entity.toJSON(),
      )
      .then(
        (response) => response.body<T>(),
      );
}