showNotificationsOnForeground static method

Future<String?> showNotificationsOnForeground(
  1. bool showNotification
)

Implementation

static Future<String?> showNotificationsOnForeground(
    bool showNotification) async {
  final String? version = await _channel.invokeMethod(
      Method.SHOW_NOTIFICATION_ON_FOREGROUND, [showNotification]);
  return 'successfull $version postponeNotificationRequest method invoked';
}