void onUpdate=(void function())

The function that is called every time this Tween updates the properties of the TweenObject.

Source

set onUpdate(void function()) { _onUpdate = function; }