lerp method

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

Linearly interpolates with another Spec object.

Implementation

@override
AgentToolCallSpec lerp(AgentToolCallSpec? other, double t) {
  return AgentToolCallSpec(
    row: row.lerp(other?.row, t),
    icon: icon.lerp(other?.icon, t),
    summary: summary.lerp(other?.summary, t),
    meta: meta.lerp(other?.meta, t),
    toolId: toolId.lerp(other?.toolId, t),
    status: status.lerp(other?.status, t),
    statusIcon: statusIcon.lerp(other?.statusIcon, t),
    statusLabel: statusLabel.lerp(other?.statusLabel, t),
    indicator: indicator.lerp(other?.indicator, t),
    output: output.lerp(other?.output, t),
    outputMaxHeight: MixOps.lerp(outputMaxHeight, other?.outputMaxHeight, t),
    outputToggle: outputToggle.lerp(other?.outputToggle, t),
    outputToggleLabel: outputToggleLabel.lerp(other?.outputToggleLabel, t),
    outputContent: outputContent.lerp(other?.outputContent, t),
    outputText: outputText.lerp(other?.outputText, t),
    error: error.lerp(other?.error, t),
    errorText: errorText.lerp(other?.errorText, t),
    card: card.lerp(other?.card, t),
    cardBody: cardBody.lerp(other?.cardBody, t),
    cardIcon: cardIcon.lerp(other?.cardIcon, t),
    cardGlyph: cardGlyph.lerp(other?.cardGlyph, t),
    cardContent: cardContent.lerp(other?.cardContent, t),
    cardHeading: cardHeading.lerp(other?.cardHeading, t),
    cardTitleRow: cardTitleRow.lerp(other?.cardTitleRow, t),
    title: title.lerp(other?.title, t),
    description: description.lerp(other?.description, t),
    footer: footer.lerp(other?.footer, t),
  );
}