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