initNotificationCallBack method

Future<void> initNotificationCallBack(
  1. OnTapNotification? callback
)

onActivate and onDismissed events of your sending notifications

Implementation

Future<void> initNotificationCallBack(OnTapNotification? callback) async {
  await WindowsNotificationPlatform.instance.init();
  return WindowsNotificationPlatform.instance
      .initNotificationCallBack(callback);
}