copyWith method
Copies the line.
Implementation
Line3D copyWith({
Vector3? a,
Vector3? b,
double? width,
Color? color,
String? label,
double? labelPosition,
Vector3? labelOffset,
}) {
return Line3D(
a ?? this.a,
b ?? this.b,
width: width ?? this.width,
color: color ?? this.color,
label: label ?? this.label,
labelPosition: labelPosition ?? this.labelPosition,
labelOffset: labelOffset ?? this.labelOffset,
);
}