copyWith method
DataPoint
copyWith({
- double? x,
- double? dx,
- double? y,
- double? dy,
- IDataPointStyle? style,
- ThicknessOverride? thickness,
Implementation
DataPoint copyWith({
double? x,
double? dx,
double? y,
double? dy,
IDataPointStyle? style,
ThicknessOverride? thickness,
}) => DataPoint(
x: x ?? this.x,
y: y ?? this.y,
dy: dy ?? this.dy,
dx: dx ?? this.dx,
style: style ?? this.style,
thickness: thickness ?? this.thickness,
);