shift method

dynamic shift(
  1. dynamic timeOffset
)

Implementation

shift(timeOffset) {
  if (timeOffset != 0.0) {
    var times = this.times;

    for (var i = 0, n = times.length; i != n; ++i) {
      times[i] += timeOffset;
    }
  }

  return this;
}