lerpFrom method
Linearly interpolate between this segment and from
.
Implementation
@override
CubicSegment lerpFrom(covariant CubicSegment from, double t) => CubicSegment(
control1: Offset.lerp(from.control1, control1, t)!,
control2: Offset.lerp(from.control2, control2, t)!,
end: Offset.lerp(from.end, end, t)!,
tag: tag,
);