copyWith method

ImageData copyWith({
  1. File? file,
  2. bool? isDeletable,
  3. String? id,
})

Implementation

ImageData copyWith({
  File? file,
  bool? isDeletable,
  String? id,
}) {
  return ImageData(
    file: file ?? this.file,
    isDeletable: isDeletable ?? this.isDeletable,
    id: id ?? this.id,
  );
}