copy method

  1. @override
Rectangle copy()
override

复制实例,避免对象传递

Implementation

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