lerp method

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

Linearly interpolates with another Spec object.

Implementation

@override
AgentSourcesSpec lerp(AgentSourcesSpec? other, double t) {
  return AgentSourcesSpec(
    trigger: trigger.lerp(other?.trigger, t),
    icon: icon.lerp(other?.icon, t),
    label: label.lerp(other?.label, t),
    indicator: indicator.lerp(other?.indicator, t),
    list: list.lerp(other?.list, t),
    source: source.lerp(other?.source, t),
    sourceLabel: sourceLabel.lerp(other?.sourceLabel, t),
  );
}