NotificationHandler typedef
NotificationHandler =
Future<void> Function(ReceivedNotification receivedNotification)
Method structure to listen to an notification event with dart
Implementation
typedef NotificationHandler = Future<void> Function(
ReceivedNotification receivedNotification);