key property

dynamic key

This read-only property returns the Links's Model data key if it is in a Diagram and is backed by Model data. Otherwise this returns undefined.

If the link data is in a GraphLinksModel, the GraphLinksModel#linkKeyProperty must not be an empty string.

Implementation

_i2.dynamic get key => _i4.getProperty(
      this,
      'key',
    );
void key=(dynamic value)

Implementation

set key(_i2.dynamic value) {
  _i4.setProperty(
    this,
    'key',
    value,
  );
}