setFromKeyForLinkData method

void setFromKeyForLinkData(
  1. Object linkdata,
  2. dynamic key
)

Change the node key that the given link data references as the source of the link. @param {ObjectData} linkdata a JavaScript object represented by a link. @param {string|number|undefined} key This may be undefined if the link should no longer come from any node. @see #linkFromKeyProperty @see #getFromKeyForLinkData

Implementation

void setFromKeyForLinkData(
  _i2.Object linkdata,
  _i2.dynamic key,
) {
  _i4.callMethod(
    this,
    'setFromKeyForLinkData',
    [
      linkdata,
      key,
    ],
  );
}