compute method
Implementation
@override
T compute(TimelineAnimation<T> timeline, int index, double t) {
return timeline.lerp(from!, to!, t)!;
}
@override
T compute(TimelineAnimation<T> timeline, int index, double t) {
return timeline.lerp(from!, to!, t)!;
}