onNotificationPressed method

void onNotificationPressed()

Called when the notification itself is pressed.

AOS: "android.permission.SYSTEM_ALERT_WINDOW" permission must be granted for this function to be called.

Implementation

void onNotificationPressed() => FlutterForegroundTask.launchApp();