diagram property

Diagram? get diagram

This read-only property returns the Diagram that this Part is in.

This will be null if it is not in a Layer.

Implementation

_i3.Diagram? get diagram => _i4.getProperty(
      this,
      'diagram',
    );
set diagram (Diagram? value)

Implementation

set diagram(_i3.Diagram? value) {
  _i4.setProperty(
    this,
    'diagram',
    value ?? _i5.undefined,
  );
}