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