to method
Implementation
Tween to(Map target, [int duration = 1000]) {
if (this._isPlaying) throw('Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.');
this._valuesEnd = target;
this._propertiesAreSetUp = false;
this._duration = duration < 0 ? 0 : duration;
return this;
}