onBackgroundMessage method

  1. @override
void onBackgroundMessage(
  1. Function onRecieve
)
override

Implementation

@override
void onBackgroundMessage(Function onRecieve) {
  //  FirebaseMessaging.onBackgroundMessage((RemoteMessage message) {
  //   if (message.notification != null) {
  //     debugPrint('OnBackground notification title: ${message.notification!.title}');
  //     debugPrint('OnBackground notification body: ${message.notification!.body}');
  //   }
  // });
}