lerp method
Linearly interpolate between this and another FRadioMotion using the given factor t
.
Implementation
@useResult
FRadioMotion lerp(FRadioMotion other, double t) => FRadioMotion(
duration: t < 0.5 ? duration : other.duration,
reverseDuration: t < 0.5 ? reverseDuration : other.reverseDuration,
curve: t < 0.5 ? curve : other.curve,
);