handleForegroundNotifications method

  1. @override
Future<void> handleForegroundNotifications(
  1. Map<String, dynamic> notificationData
)
override

Implementation

@override
Future<void> handleForegroundNotifications(
    Map<String, dynamic> notificationData) async {
  try {
    await methodChannel.invokeMethod(
        'handleForegroundNotifications', notificationData);
  } catch (e) {
    e.toString();
  }
}