lerp method
Linearly interpolate with another Spec object.
Implementation
@override
RotatedBoxModifierSpec lerp(RotatedBoxModifierSpec? other, double t) {
// Use lerpInt for interpolating between integers
return RotatedBoxModifierSpec(
lerpInt(quarterTurns, other?.quarterTurns, t),
);
}