usesPorts property

bool get usesPorts

Implementation

bool get usesPorts => switch (kind) {
  ShapeConnectionKind.fixedPorts || ShapeConnectionKind.instancePorts => true,
  ShapeConnectionKind.none || ShapeConnectionKind.outline => false,
};