getSchedules abstract method
Future<ScheduleResponse>
getSchedules(
{ - @Query("page") int page = 1,
- @Query("size") int size = 10,
- @Query("order") String order = "desc",
- @Query("positionId") required String positionId,
- @Query("coordinates") String? coordinates,
- @Query("fromDate") String? fromDate,
- @Query("toDate") String? toDate,
- @Query("visitStatus") bool? visitStatus,
})
Implementation
@GET(Api.getSchedules)
Future<ScheduleResponse> getSchedules(
{@Query("page") int page = 1,
@Query("size") int size = 10,
@Query("order") String order = "desc",
@Query("positionId") required String positionId,
@Query("coordinates") String? coordinates,
@Query("fromDate") String? fromDate,
@Query("toDate") String? toDate,
@Query("visitStatus") bool? visitStatus});