Model
NotificationService
Magento\AdminNotification\Model\NotificationService
What it does
This service class provides functionality to manage admin notifications in Magento 2.
Developers use this class when they need to programmatically mark admin notifications as read, such as when an administrator acknowledges a system message or alert in the admin panel.
Public Methods
- markAsRead()