FCMNotificationListener constructor

const FCMNotificationListener({
  1. Key? key,
  2. required Widget child,
  3. required dynamic onNotification(
    1. RemoteMessage notification,
    2. VoidCallback setState
    ),
})

Implementation

const FCMNotificationListener(
    {Key? key, required this.child, required this.onNotification})
    : super(key: key);