launchNotification property

PushNotificationMessage? get launchNotification

Returns a PushNotificationMessage or null depending on what action launched the app.

It either returns the notification that has been tapped by an end user to launch the App, or else returns null if the app was launched by any other means.

Implementation

PushNotificationMessage? get launchNotification =>
    defaultPlugin.launchNotification;