containingGroup property

Group? get containingGroup

Gets or sets the Group of which this Part or Node is a member. This will be null if this is a top-level part.

You cannot set this property on a Link; it is set for you automatically based on the group memberships of the connected nodes. You cannot set this property on an Adornment at all.

A template should not be a member of any group.

Implementation

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

Implementation

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