copyWith method

PointPlane3D copyWith({
  1. Axis3D? axis,
  2. double? size,
  3. double? gap,
  4. Vector3? position,
  5. Color? color,
  6. double? pointWidth,
})

Copies the plane.

Implementation

PointPlane3D copyWith({
  Axis3D? axis,
  double? size,
  double? gap,
  Vector3? position,
  Color? color,
  double? pointWidth,
}) {
  return PointPlane3D(
    size ?? this.size,
    axis ?? this.axis,
    gap ?? this.gap,
    position ?? this.position,
    color: color ?? this.color,
    pointWidth: pointWidth ?? this.pointWidth,
  );
}