getAssetDetails abstract method
- @GET(Api.getAssetDetails)
Future<StockDealerAssetModel>
getAssetDetails(
{ - @Query("pageNo") int pageNo = 1,
- @Query("perPageCount") int perPageCount = 10,
- @Query("filterRetailerNumber") required String filterRetailerNumber,
- @Query("filterProductCode") required String filterProductCode,
- @Query("filterStatusId") required String filterStatusId,
- @Query("filterSerialNumberLike") String? filterSerialNumberLike,
- @Query("orderBy") String orderBy = "DESC",
- @Query("sort") String sort = "updatedAt",
- @Header("X-User-Id") String xUserId = "",
- @Header("content-type") String type = "application/json",
})
Implementation
@GET(Api.getAssetDetails)
Future<StockDealerAssetModel> getAssetDetails({
@Query("pageNo") int pageNo = 1,
@Query("perPageCount") int perPageCount = 10,
@Query("filterRetailerNumber") required String filterRetailerNumber,
@Query("filterProductCode") required String filterProductCode,
@Query("filterStatusId") required String filterStatusId,
@Query("filterSerialNumberLike") String? filterSerialNumberLike,
@Query("orderBy") String orderBy = "DESC",
@Query("sort") String sort = "updatedAt",
@Header("X-User-Id") String xUserId = "",
@Header("content-type") String type = "application/json",
});