copyWith method
Implementation
CropOptions copyWith({
CropRect? cropRect,
bool? enableCrop,
double? aspectRatio,
bool? freeform,
bool? showGrid,
bool? lockAspectRatio,
}) {
return CropOptions(
cropRect: cropRect ?? this.cropRect,
enableCrop: enableCrop ?? this.enableCrop,
aspectRatio: aspectRatio ?? this.aspectRatio,
freeform: freeform ?? this.freeform,
showGrid: showGrid ?? this.showGrid,
lockAspectRatio: lockAspectRatio ?? this.lockAspectRatio,
);
}