copyWith method
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,
encodedGeometry: changes.encodedGeometry ?? encodedGeometry,
encodedGeometryPrecision: changes.encodedGeometryPrecision ?? encodedGeometryPrecision,
draggable: changes.draggable ?? draggable,
);
}