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