lerp method
Linearly interpolates with another Spec object.
Implementation
@override
AgentMessageSpec lerp(AgentMessageSpec? other, double t) {
return AgentMessageSpec(
container: container.lerp(other?.container, t),
surface: surface.lerp(other?.surface, t),
text: text.lerp(other?.text, t),
header: header.lerp(other?.header, t),
footer: footer.lerp(other?.footer, t),
maxWidthFactor: MixOps.lerp(maxWidthFactor, other?.maxWidthFactor, t),
collapsedHeight: MixOps.lerp(collapsedHeight, other?.collapsedHeight, t),
);
}