onNotification property
Will be called whenever a new notification come and app is in foreground
Implementation
final Function(RemoteMessage notification, VoidCallback setState)
onNotification;
Will be called whenever a new notification come and app is in foreground
final Function(RemoteMessage notification, VoidCallback setState)
onNotification;