completeNotificationDisplay method
Resolves a pending notificationWillDisplay event, telling the native
side whether to show (discard false) or suppress (discard true)
the system notification.
Implementation
@override
Future<void> completeNotificationDisplay(String eventId, bool discard) {
return methodChannel.invokeMethod('notifications#completeDisplay', {
'eventId': eventId,
'discard': discard,
});
}