fromShift

Returns an instance of Permission with Permission.shift equal to the specified shift.

Throws