getAvailableStocks abstract method

  1. @POST(Api.getAvailableStocks)
Future<StockDealerProductModel> getAvailableStocks({
  1. @Body() required dynamic body,
  2. @Header("X-User-Id") String xUserId = "",
  3. @Header("content-type") String type = "application/json",
})

Implementation

@POST(Api.getAvailableStocks)
Future<StockDealerProductModel> getAvailableStocks({
  @Body() required body,
  @Header("X-User-Id") String xUserId = "",
  @Header("content-type") String type = "application/json",
});