lerp method Null safety

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

This tween doesn't interpolate, it always returns the same value.

Implementation

@override
T lerp(double t) => begin as T;