bool onSetConfig(String name, Object value)

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

Source

bool onSetConfig(String name, Object value) => false;