onBackgroundNotification property

Future<void> Function(RemoteMessage)? onBackgroundNotification
final

Provide a top-level, non-anonymous function to handle background Notifications

Implementation

final Future<void> Function(RemoteMessage)? onBackgroundNotification;