deleteById method

Future<T> deleteById(
  1. num id
)

Implementation

Future<T> deleteById(num id) async {
  return _dio.post(url("delete"), data: {
    'id': id,
  }).then((response) => response.body<T>());
}