lerp method
Linearly interpolates with another Spec object.
Implementation
@override
AgentStepSpec lerp(AgentStepSpec? other, double t) {
return AgentStepSpec(
container: container.lerp(other?.container, t),
icon: icon.lerp(other?.icon, t),
title: title.lerp(other?.title, t),
detail: detail.lerp(other?.detail, t),
);
}