authorizedNotificationSettings property

Future<List<IOSAuthorizedNotificationSetting>> get authorizedNotificationSettings

Gets the authorized notification settings.

Implementation

Future<List<IOSAuthorizedNotificationSetting>>
    get authorizedNotificationSettings async {
  if (!Platform.isIOS) {
    return Future.value(List.empty());
  }
  var strings = List<String>.from(await _module.channel
      .invokeMethod('push#ios#getAuthorizedNotificationSettings'));

  return AirshipUtils.parseIOSAuthorizedSettings(strings);
}