copyWith method
WallParams
copyWith({
- Vector2? start,
- Vector2? end,
- double? thickness,
- Justification? justification,
Implementation
WallParams copyWith(
{Vector2? start,
Vector2? end,
double? thickness,
Justification? justification}) =>
WallParams(start?.x ?? sx, start?.y ?? sy, end?.x ?? ex, end?.y ?? ey,
thickness ?? this.thickness, justification ?? this.justification);