handleNotificationPressed method

Future<void> handleNotificationPressed(
  1. NotificationResponse? message
)

Implementation

Future<void> handleNotificationPressed(NotificationResponse? message) async {
  if (message != null) {
    String msgId = message.payload ?? '';

    // Send the delivered event to PushExpressManager
    PushExpressManager().sendNotificationEvent(
      msgId,
      Events.clicked,
    );
  }
}