approve method

Future<T> approve(
  1. T entity
)

Implementation

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