bool onSetValue(Object val)

Callback used to accept or reject a value when it is set. Return true to reject the value, and false to accept it.

Source

bool onSetValue(Object val) => false;