@DeleteReq(path: "products/:id")
Future<void> deleteProduct(@PathParam() int id);
The above doesn't work, since I know that this api does not return anything.
The code which works is below:
@DeleteReq(path: "products/:id")
Future<String> deleteProduct(@PathParam() int id);