permissionState

suspend fun permissionState(options: PushSubscriptionOptionsInit = definedExternally): PermissionState(source)

The permissionState() method of the string indicating the permission state of the push manager.

MDN Reference