getSurveyHistory abstract method

  1. @GET(Api.getSurveyHistory)
Future<SurveyHistoryResponse> getSurveyHistory({
  1. @Query("partnerId") required String partnerId,
  2. @Query("page") int page = 1,
  3. @Query("size") int size = 10,
  4. @Query("order") String order = "desc",
  5. @Query("sort") String fromDate = "submitDate",
})

Implementation

@GET(Api.getSurveyHistory)
Future<SurveyHistoryResponse> getSurveyHistory({
  @Query("partnerId") required String partnerId,
  @Query("page") int page = 1,
  @Query("size") int size = 10,
  @Query("order") String order = "desc",
  @Query("sort") String fromDate = "submitDate",
});