lerp method

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

Linearly interpolates with another Spec object.

Implementation

@override
AgentAnswerSpec lerp(AgentAnswerSpec? other, double t) {
  return AgentAnswerSpec(
    container: container.lerp(other?.container, t),
    body: body.lerp(other?.body, t),
    text: text.lerp(other?.text, t),
    sources: sources.lerp(other?.sources, t),
    actions: actions.lerp(other?.actions, t),
    feedback: feedback.lerp(other?.feedback, t),
  );
}