setForegroundPresentationOptions method

  1. @override
Future<void> setForegroundPresentationOptions({
  1. required bool showSystemUI,
})
override

Configures whether the native system UI should be shown for foreground notifications.

Implementation

@override
Future<void> setForegroundPresentationOptions(
    {required bool showSystemUI}) async {
  await methodChannel.invokeMethod('setForegroundPresentationOptions', {
    'showSystemUI': showSystemUI,
  });
}