Currently when user receives a notification when the flutter app is minimized, and taps on notification, it redirects the user towards `screen A` every time. But I want the user to land on let's say `screen C` via deeplink which is created manually. Also, if user minimizes the app from any screen, tapping on notification takes user towards that screen. But irrespective of from where user minimizes the app or when app is in background, tapping on notification should redirect user towards `screen C` always. I haven't implemented notifications earlier, so this is my first time dealing with this issue, so looking for help in this regard. Notification class code below:

```
companion object {

    const val CHAT_REQUEST_NOTIFICATION_ID = 1775
    const val CHAT_CHANNEL_ID = "com.example.com.CHAT_CHANNEL_ID"
    const val CHAT_CHANNEL_NAME = "Demo Notifications"

    fun showChatNotification(context: Context, userName: String?, body: String?) {

        createChatNotificationChannel(context);

        val chatIntent = Intent();
        val deeplink = generateDeepLink(userName);
        chatIntent.setAction(Intent.ACTION_VIEW);
        chatIntent.setData(Uri.parse(deeplink));
        val chatPendingIntent = PendingIntent.getActivity(context, 100, chatIntent, PendingIntent.FLAG_ONE_SHOT)

        val notification: Notification

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {

            notification = Notification.Builder(context, CHAT_CHANNEL_ID)
                .setContentIntent(chatPendingIntent)
                .setSmallIcon(R.drawable.notification_icon)
                .setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.ic_app_icon))
                .setAutoCancel(true)
                .setContentTitle("Message")
                .setContentText(body)
                .setOngoing(false)
                .setVisibility(Notification.VISIBILITY_PUBLIC)
                .build()
        } else {
            notification = Notification.Builder(context)
                .setContentIntent(chatPendingIntent)
                .setSmallIcon(android.R.drawable.btn_star)
                .setLargeIcon(BitmapFactory.decodeResource(context.resources, R.mipmap.app_icon))
                .setAutoCancel(true)
                .setVibrate(chatVibrationPattern)
                .setVisibility(Notification.VISIBILITY_PUBLIC)
                .setContentTitle("Message")
                .setOngoing(false)
                .setContentText(body)
                .build()
        }
        val manager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
        manager.notify(CHAT_REQUEST_NOTIFICATION_ID, notification)
    }

    fun generateDeepLink(userId: String?): String {
        return "https://demo.page.link/?link=https://demo.com/chat?user=$userId&apn=com.example.com&efr=1";
    }

    private fun createChatNotificationChannel(context: Context) {

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {

            val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager

            notificationManager.deleteNotificationChannel(CHAT_CHANNEL_ID)

            val importance = NotificationManager.IMPORTANCE_HIGH
            val notificationChannel = NotificationChannel(CHAT_CHANNEL_ID, CHAT_CHANNEL_NAME, importance)
            notificationChannel.description = "Message"
            notificationChannel.lockscreenVisibility = Notification.VISIBILITY_PUBLIC
            notificationManager.createNotificationChannel(notificationChannel)
        }
    }
}

```

I am using android emulators (6.0).