lerp method

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

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),
  );
}