notificationController property
getter/setter pair
The notification controller that provides methods to interact with the notification.
Use this controller to:
- Report when the notification is shown via PlatformWebNotificationController.reportShown
- Report when the notification is clicked via PlatformWebNotificationController.reportClicked
- Report when the notification is closed via PlatformWebNotificationController.reportClosed
- Listen for the close event via PlatformWebNotificationController.onClose
- Access the notification data via PlatformWebNotificationController.notification
Implementation
PlatformWebNotificationController? notificationController;