setNotificationClickListener static method
Implementation
static void setNotificationClickListener(NotificationCallback fn) {
// Save listener for later
_notificationClickListener = fn;
// Any notifications pending?
if (notificationClickQueue.length > 0) {
notificationClickQueue
.forEach((element) => {_notificationClickListener!(element)});
// Empty queue
notificationClickQueue = [];
}
}