copyWith method
Copies the plane.
Implementation
Plane3D copyWith({
Axis3D? axis,
bool? negative,
double? size,
Vector3? position,
Color? color,
}) {
return Plane3D(
size ?? this.size,
axis ?? this.axis,
negative ?? this.negative,
position ?? this.position,
color: color ?? this.color,
);
}