copyWith method
Implementation
@override
LineStroke copyWith({
List<Offset>? points,
Color? color,
double? size,
double? opacity,
}) {
return LineStroke(
points: points ?? this.points,
color: color ?? this.color,
size: size ?? this.size,
opacity: opacity ?? this.opacity,
);
}