copyWith method
EllipseDrawingToolConfig
copyWith({
- String? configId,
- DrawingData? drawingData,
- LineStyle? lineStyle,
- LineStyle? fillStyle,
- DrawingPatterns? pattern,
- List<
EdgePoint> ? edgePoints, - bool? enableLabel,
- int? number,
override
Creates a copy of this object.
Implementation
@override
EllipseDrawingToolConfig copyWith({
String? configId,
DrawingData? drawingData,
LineStyle? lineStyle,
LineStyle? fillStyle,
DrawingPatterns? pattern,
List<EdgePoint>? edgePoints,
bool? enableLabel,
int? number,
}) => EllipseDrawingToolConfig(
configId: configId ?? this.configId,
drawingData: drawingData ?? this.drawingData,
lineStyle: lineStyle ?? this.lineStyle,
fillStyle: fillStyle ?? this.fillStyle,
pattern: pattern ?? this.pattern,
edgePoints: edgePoints ?? this.edgePoints,
number: number ?? this.number,
);