Linear interpolation between this value and end at t.
end
t
Example:
int start = 10; double result = start.lerp(20, 0.5); // 15.0
double lerp(int end, double t) => this + (end - this) * t;