request
The notification request containing the payload and trigger condition for the notification.
Declaration
@NSCopying var request: UNNotificationRequest { get }Discussion
For local notifications, the request object is a copy of the one you originally configured. For remote notifications, the system synthesizes the request object from information received from Apple Push Notification service.