copyWithBounds method
Creates a copy with updated bounds.
Implementation
@override
ConnectionSegmentItem copyWithBounds(Rect newBounds) => ConnectionSegmentItem(
connectionId: connectionId,
segmentIndex: segmentIndex,
bounds: newBounds,
);
Creates a copy with updated bounds.
@override
ConnectionSegmentItem copyWithBounds(Rect newBounds) => ConnectionSegmentItem(
connectionId: connectionId,
segmentIndex: segmentIndex,
bounds: newBounds,
);