clone method

Polygon clone ()

Creates a new Polygon object whose values are the same as this instance.

Implementation

Polygon clone() {
  return copyWith(pointsParam: List<LatLng>.of(points));
}