lerp static method

Larger lerp(
  1. Larger a,
  2. Larger? b,
  3. double t
)

Linearly interpolates the provided objects based on the given t value.

Implementation

static Larger lerp(Larger a, Larger? b, double t) {
  return Larger._(
    regular: LargerRegular.lerp(a.regular, b?.regular, t),
  );
}