Added unread list api in notification
This commit is contained in:
@@ -10,7 +10,8 @@ class NotificationApi {
|
||||
static const String markAllAsRead = '/api/v1/notifications/mark';
|
||||
static const String markAsRead = '/api/v1/notifications/mark-as-read';
|
||||
static const String tenderApprovalsTender = '/api/v1/notifications';
|
||||
static String getTenderApprovalById({required String tenderId}) {
|
||||
return '$tenderApprovalsTender/$tenderId';
|
||||
static const String unreadNotifications = '/api/v1/notifications?seen=false';
|
||||
static String getUnreadNotifications({required int limit, required int offset}) {
|
||||
return '$unreadNotifications?limit=$limit&offset=$offset';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user