productDetailsList abstract method
- @GET.new(Api.productDetailsList)
Future<ProductDetailsResponseModel>
productDetailsList(
{ - @Query.new("pogId") required int pogId,
- @Query.new("customerSegment") int? customerSegment,
- @Query.new("searchText") String? searchText,
- @Query.new("subGroupId") String? subGroupId,
- @Query.new("order") String? order = "desc",
- @Header.new("X-User-Id") String xUserId = "",
- @Header.new("content-type") String type = "application/x-www-form-urlencoded",
})
Implementation
@GET(Api.productDetailsList)
Future<ProductDetailsResponseModel> productDetailsList({
@Query("pogId") required int pogId,
@Query("customerSegment") int? customerSegment,
@Query("searchText") String? searchText,
@Query("subGroupId") String? subGroupId,
@Query("order") String? order = "desc",
@Header("X-User-Id") String xUserId = "",
@Header("content-type") String type = "application/x-www-form-urlencoded",
});