unreadNotifications property
The unread notifications.
Implementation
List<Notification> get unreadNotifications => state.data?.where((element) => !element.read).toList() ?? [];
The unread notifications.
List<Notification> get unreadNotifications => state.data?.where((element) => !element.read).toList() ?? [];