pause method

Tween pause([
  1. int? time
])

Implementation

Tween pause([int? time]) {
  time ??= now();
  if (this._isPaused || !this._isPlaying) {
    return this;
  }
  this._isPaused = true;
  this._pauseStart = time;
  // eslint-disable-next-line
  this._group.remove(this);
  return this;
}