fromRaw

Find a PermissionType by its raw value from the paywall schema

Return

The corresponding PermissionType or null if not found

Parameters

raw

The permission type string (e.g., "notification")