getInitialNotificationAction method

  1. @override
Future<ReceivedAction?> getInitialNotificationAction({
  1. bool removeFromActionEvents = false,
})
override

The click (on a notification of the service worker) that opened the app.

Implementation

@override
Future<ReceivedAction?> getInitialNotificationAction(
        {bool removeFromActionEvents = false}) async =>
    engine.takeLaunchAction(remove: removeFromActionEvents);