discardInAppNotifications method Null safety

Future<void> discardInAppNotifications()

Suspends the display of InApp Notifications and discards any new InApp Notifications to be shown after this method is called. The InApp Notifications will be displayed only once resumeInAppNotifications() is called.

Implementation

static Future<void> discardInAppNotifications() async {
  return await _channel.invokeMethod('discardInAppNotifications', {});
}