copyWith method

ImageInfos copyWith({
  1. Size? rawSize,
  2. Size? renderedSize,
  3. Size? cropRectSize,
  4. double? pixelRatio,
  5. bool? isRotated,
})

Implementation

ImageInfos copyWith({
  Size? rawSize,
  Size? renderedSize,
  Size? cropRectSize,
  double? pixelRatio,
  bool? isRotated,
}) {
  return ImageInfos(
    rawSize: rawSize ?? this.rawSize,
    renderedSize: renderedSize ?? this.renderedSize,
    cropRectSize: cropRectSize ?? this.cropRectSize,
    pixelRatio: pixelRatio ?? this.pixelRatio,
    isRotated: isRotated ?? this.isRotated,
  );
}