copyWith method
Implementation
CropRect copyWith({
double? x,
double? y,
double? width,
double? height,
}) {
return CropRect(
x: x ?? this.x,
y: y ?? this.y,
width: width ?? this.width,
height: height ?? this.height,
);
}