resume method

Tween resume([
  1. int? time
])

Implementation

Tween resume([int? time]) {
  time ??= now();
  if (this._isPaused || this._isPlaying) {
    return this;
  }
  this._isPaused = false;
  this._startTime += time - this._pauseStart;
  this._pauseStart = 0;
  // eslint-disable-next-line
  this._group.add(this);
  return this;
}