getDroDistributerList abstract method

  1. @GET(Api.droList)
Future<DroDustributerListModel> getDroDistributerList({
  1. @Query("userType") int? userType,
  2. @Query("size") int? size,
  3. @Query("page") int? page,
  4. @Query("partnerId") String? partnerId,
  5. @Query("sort") String? sort,
  6. @Query("order") String order = "asc",
  7. @Query("softDelete") bool? softDelete,
  8. @Query("status") int? status,
  9. @Query("isSalesForce") bool? isSalesForce,
  10. @Query("keyword") String? keyword,
})

Implementation

@GET(Api.droList)
Future<DroDustributerListModel> getDroDistributerList({
  @Query("userType") int? userType,
  @Query("size") int? size,
  @Query("page") int? page,
  @Query("partnerId") String? partnerId,
  @Query("sort") String? sort,
  @Query("order") String order = "asc",
  @Query("softDelete") bool? softDelete,
  @Query("status") int? status,
  // @Query("listAll") bool? listAll,
  @Query("isSalesForce") bool? isSalesForce,
  @Query("keyword") String? keyword,
});