clone method

  1. @override
Line clone([
  1. bool? recursive = true
])
override

Returns a clone of this Line object and its descendants.

Implementation

@override
Line clone([bool? recursive = true]) {
  return Line(geometry!, material!).copy(this, recursive);
}