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