copyWith method

PolylineOptions copyWith(
  1. PolylineOptions changes
)

Implementation

PolylineOptions copyWith(PolylineOptions changes) {
  return PolylineOptions(
    polylineJoin: changes.polylineJoin ?? polylineJoin,
    polylineOpacity: changes.polylineOpacity ?? polylineOpacity,
    polylineColor: changes.polylineColor ?? polylineColor,
    polylineWidth: changes.polylineWidth ?? polylineWidth,
    polylineGapWidth: changes.polylineGapWidth ?? polylineGapWidth,
    polylineOffset: changes.polylineOffset ?? polylineOffset,
    polylineBlur: changes.polylineBlur ?? polylineBlur,
    polylinePattern: changes.polylinePattern ?? polylinePattern,
    geometry: changes.geometry ?? geometry,
    draggable: changes.draggable ?? draggable,
  );
}