copyWith method

PolygonOptions copyWith(
  1. PolygonOptions changes
)

Implementation

PolygonOptions copyWith(PolygonOptions changes) {
  return PolygonOptions(
    polygonOpacity: changes.polygonOpacity ?? polygonOpacity,
    polygonColor: changes.polygonColor ?? polygonColor,
    polygonOutlineColor: changes.polygonOutlineColor ?? polygonOutlineColor,
    polygonPattern: changes.polygonPattern ?? polygonPattern,
    geometry: changes.geometry ?? geometry,
    draggable: changes.draggable ?? draggable,
  );
}