lerp method

  1. @override
AspectRatioModifierSpec lerp(
  1. covariant AspectRatioModifierSpec? other,
  2. double t
)
override

Linearly interpolate with another Spec object.

Implementation

@override
AspectRatioModifierSpec lerp(AspectRatioModifierSpec? other, double t) {
  return AspectRatioModifierSpec(
    lerpDouble(aspectRatio, other?.aspectRatio, t) ?? aspectRatio,
  );
}