copyWith method
Copies the point.
Implementation
Point3D copyWith(
{Vector3? position, double? width, Color? color, String? label}) {
return Point3D(
position ?? this.position,
width: width ?? this.width,
color: color ?? this.color,
label: label ?? this.label,
);
}