Lerp method

double Lerp(
  1. num start,
  2. num end,
  3. num amount
)

Implementation

double Lerp(num start, num end, num amount) {
  return (start + amount*(end - start)).toDouble();
}