authorizedNotificationStatus property

Future<IOSAuthorizedNotificationStatus> get authorizedNotificationStatus

Gets the authorized notification status.

Implementation

Future<IOSAuthorizedNotificationStatus>
    get authorizedNotificationStatus async {
  if (!Platform.isIOS) {
    return Future.value(IOSAuthorizedNotificationStatus.notDetermined);
  }
  var status = await _module.channel
      .invokeMethod('push#ios#getAuthorizedNotificationStatus');

  return AirshipUtils.parseIOSAuthorizedStatus(status);
}