select method
Make the given object the only selected object. Afterwards the #selection collection will have only the given part in it.
This method raises the "ChangingSelection" and "ChangedSelection" DiagramEvents. @param {Part} part a Part that is already in a layer of this Diagram. If the value is null, this does nothing. @see #selectCollection @see #clearSelection @see #highlight
Implementation
void select([_i3.Part? part]) {
_i4.callMethod(
this,
'select',
[part ?? _i5.undefined],
);
}