···2929 final notifications = await apiService.getNotifications();
3030 state = notifications;
3131 } else {
3232- // You may need to adjust this if your WS sends a list or other format
3332 final notification = Notification.fromJson(data);
3433 state = [...state, notification];
3534 }