copyWith method

LineOptions copyWith(
  1. LineOptions changes
)

Implementation

LineOptions copyWith(LineOptions changes) {
  return LineOptions(
    lineJoin: changes.lineJoin ?? lineJoin,
    lineOpacity: changes.lineOpacity ?? lineOpacity,
    lineColor: changes.lineColor ?? lineColor,
    lineWidth: changes.lineWidth ?? lineWidth,
    lineGapWidth: changes.lineGapWidth ?? lineGapWidth,
    lineOffset: changes.lineOffset ?? lineOffset,
    lineBlur: changes.lineBlur ?? lineBlur,
    linePattern: changes.linePattern ?? linePattern,
    geometry: changes.geometry ?? geometry,
    draggable: changes.draggable ?? draggable,
  );
}