setDataProperty method
This override changes the value of some property of a node data or an item data, given a string naming the property and the new value, in a manner that can be undone/redone and that automatically updates any bindings.
This gets the old value of the property; if the value is the same as the new value, no side-effects occur. @expose @param {Object} data a JavaScript object typically the value of a Panel#data and represented by a Node, Link, Group, simple Part, or item in a Panel#itemArray; or this model's #modelData. @param {string} propname a string that is not null or the empty string. @param {*} val the new value for the property. @see Model#setDataProperty
Implementation
void setDataProperty(
_i2.Object data,
_i2.String propname, [
_i2.dynamic val,
]) {
_i4.callMethod(
this,
'setDataProperty',
[
data,
propname,
val,
],
);
}