copyWith method

ImageInfoData copyWith({
  1. Uint8List? imageBytes,
  2. String? key,
  3. int? height,
  4. int? width,
})

Implementation

ImageInfoData copyWith({
  final Uint8List? imageBytes,
  final String? key,
  final int? height,
  final int? width,
}) {
  return ImageInfoData(
    imageBytes: imageBytes ?? this.imageBytes,
    height: height ?? this.height,
    width: width ?? this.width,
    key: key ?? this.key,
  );
}