willHandleBackgroundNotifications method

  1. @override
Future<bool?> willHandleBackgroundNotifications(
  1. Map<String, dynamic> notificationData
)
override

Implementation

@override
Future<bool?> willHandleBackgroundNotifications(
    Map<String, dynamic> notificationData) async {
  try {
    return await methodChannel.invokeMethod(
        'willHandleBackgroundNotifications', notificationData);
  } catch (e) {
    e.toString();
    return false;
  }
}