nonTerminatedNotificationHandler function

void nonTerminatedNotificationHandler(
  1. NotificationResponse notification
)

Handles a notification that was received while the app was in the background.

Implementation

@pragma('vm:entry-point')
void nonTerminatedNotificationHandler(
  NotificationResponse notification,
) {
  debugPrint(
    "\n\n################### RouterNotifier: Handling non-terminated notification\nPayloud: ${notification.payload}\n###################\n\n",
  );
  backgroundNotificationStream.add(notification.payload);
}