copyWithBounds method
Creates a copy with updated bounds.
Implementation
@override
PortSpatialItem copyWithBounds(Rect newBounds) => PortSpatialItem(
portId: portId,
nodeId: nodeId,
isOutput: isOutput,
bounds: newBounds,
);
Creates a copy with updated bounds.
@override
PortSpatialItem copyWithBounds(Rect newBounds) => PortSpatialItem(
portId: portId,
nodeId: nodeId,
isOutput: isOutput,
bounds: newBounds,
);