copyWith method
Implementation
ImageProperties copyWith({
Rect? cropRect,
double? rotation,
bool? flipHorizontal,
bool? flipVertical,
}) {
return ImageProperties(
cropRect: cropRect ?? this.cropRect,
rotation: rotation ?? this.rotation,
flipHorizontal: flipHorizontal ?? this.flipHorizontal,
flipVertical: flipVertical ?? this.flipVertical,
);
}