cpmDropDown abstract method

  1. @GET(Api.cpmDropdown)
Future<CpmDropDown> cpmDropDown({
  1. @Query("dropDownMasterId") required int dropDownMasterId,
  2. @Query("page") int page = 1,
  3. @Query("size") int size = 10,
  4. @Query("sort") String sort = "dropDownValue",
  5. @Query("order") String order = "desc",
})

Implementation

@GET(Api.cpmDropdown)
Future<CpmDropDown> cpmDropDown({
  @Query("dropDownMasterId") required int dropDownMasterId,
  @Query("page") int page = 1,
  @Query("size") int size = 10,
  @Query("sort") String sort = "dropDownValue",
  @Query("order") String order = "desc",
});