initNotificationCallBack method
onActivate and onDismissed events of your sending notifications
Implementation
Future<void> initNotificationCallBack(OnTapNotification? callback) async {
await WindowsNotificationPlatform.instance.init();
return WindowsNotificationPlatform.instance
.initNotificationCallBack(callback);
}