requestNotificationPermissions method

Future<bool> requestNotificationPermissions([
  1. IosNotificationSettings iosSettings = const IosNotificationSettings()
])

Implementation

Future<bool> requestNotificationPermissions(
    [IosNotificationSettings iosSettings =
        const IosNotificationSettings()]) async {
  final bool? result = await methodChannel.invokeMethod<bool>(
      'requestNotificationPermissions', iosSettings.toMap());
  return result ?? false;
}