copyWith method
Implementation
@override
ScatterSpot copyWith({
double? x,
double? y,
bool? show,
FlDotPainter? dotPainter,
}) {
return ScatterSpot(
x ?? this.x,
y ?? this.y,
show: show ?? this.show,
dotPainter: dotPainter ?? this.dotPainter,
);
}