getNotificationList abstract method
- @GET(Api.notificationsList)
Future<NotificationModel>
getNotificationList(
{ - @Query("sort") required String sort,
- @Query("userId") String? userId,
- @Query("fromDate") String? fromDate,
- @Query("toDate") String? toDate,
- @Query("keyword") String? keyword,
- @Query("order") String order = "dsc",
- @Query("page") int? page,
- @Query("size") int? size,
- @Header("X-User-Id") String xUserId = "",
- @Header("content-type") String type = "applicatin/json",
})
Implementation
@GET(Api.notificationsList)
Future<NotificationModel> getNotificationList({
@Query("sort") required String sort,
@Query("userId") String? userId,
@Query("fromDate") String? fromDate,
@Query("toDate") String? toDate,
@Query("keyword") String? keyword,
@Query("order") String order = "dsc",
@Query("page") int? page,
@Query("size") int? size,
@Header("X-User-Id") String xUserId = "",
@Header("content-type") String type = "applicatin/json",
});