Notification options
Optionalduration?: number | falseAuto-close duration in ms, or false to disable
Optionalid?: stringOptional ID to track the notification
Optionaltext?: stringNotification text
Optionaltitle?: string | nullNotification title
The notification instance
Create or update a notification with a tracking ID. If a notification with the same ID exists and is not closed, it will be updated. Otherwise, a new notification is created.