setParentKeyForNodeData method

void setParentKeyForNodeData(
  1. Object nodedata,
  2. dynamic key
)

Change the parent node for the given node data, given a key for the new parent, or undefined if there should be no parent. @param {Object} nodedata a JavaScript object represented by a node. @param {string|number|undefined} key This may be undefined if there should be no parent node data. @see #nodeParentKeyProperty @see #getParentKeyForNodeData

Implementation

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