clone method

MFPolygon clone()

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

Implementation

MFPolygon clone() {
  return copyWith(
    pointsParam: List<MFLatLng>.of(points),
  );
}