copy method

  1. @override
StraightLine copy()
override

复制实例,避免对象传递

Implementation

@override
StraightLine copy() => StraightLine();