discountDeleteCart abstract method
- @PUT("${Api.addToCart}/{cartId}")
Future<CartModel>
discountDeleteCart(
{ - @Body() required dynamic cartDiscountId,
- @Path("cartId") required String cartId,
- @Header("X-User-Id") String xUserId = "",
- @Header("Content-Type") String type = "application/json",
- @Header("X-Roles") String xRoles = "",
})
Implementation
@PUT("${Api.addToCart}/{cartId}")
Future<CartModel> discountDeleteCart(
{@Body() required dynamic cartDiscountId,
@Path("cartId") required String cartId,
@Header("X-User-Id") String xUserId = "",
@Header("Content-Type") String type = "application/json",
@Header("X-Roles") String xRoles = ""});