The permission read-only property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
The requestPermission() method of the Notification interface requests permission from the user for the current origin to display notifications.
Implicit imports for the notification api.
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API