lerp method Null safety

  1. @override
double lerp(
  1. double t
)
override

Interpolates two angles at the given (t) position at timeline.

Implementation

@override
double lerp(double t) {
  if (interpolator.isStopped) return interpolator.end;

  return interpolator.interpolate(t);
}