set method

void set(
  1. Object data,
  2. String propname, [
  3. dynamic val
])

A synonym for #setDataProperty @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 #setDataProperty @since 1.8

Implementation

void set(
  _i2.Object data,
  _i2.String propname, [
  _i2.dynamic val,
]) {
  _i4.callMethod(
    this,
    'set',
    [
      data,
      propname,
      val,
    ],
  );
}