void onUpdate=(void function(num value))

The function that is called every time this Translation updates the value.

Source

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