shouldKeepGoing method
Implementation
bool shouldKeepGoing(double speedMultiplier) {
return animation.loop != Loop.oneShot ||
(speedMultiplier * directedSpeed > 0 && _time < animation.endSeconds) ||
(speedMultiplier * directedSpeed < 0 && _time > animation.startSeconds);
}