getWarehouseList abstract method
Future<WarehouseModel>
getWarehouseList(
{ - @Header("X-UserId") String xUserId = "",
- @Query("size") int? size,
- @Query("page") int? page,
- @Query("partnerId") required String partnerId,
- @Query("sort") String sort = "createdDate",
- @Query("order") String order = "asc",
- @Query("status") int status = 1,
- @Query("keyword") String? keyword,
})
Implementation
@GET(Api.warehouseList)
Future<WarehouseModel> getWarehouseList({
@Header("X-UserId") String xUserId = "",
@Query("size") int? size,
@Query("page") int? page,
@Query("partnerId") required String partnerId,
@Query("sort") String sort = "createdDate",
@Query("order") String order = "asc",
@Query("status") int status = 1,
@Query("keyword") String? keyword,
});