copyWith method

UploadFile copyWith({
  1. InputFile? file,
  2. FileType? fileType,
  3. int? priority,
})

Implementation

UploadFile copyWith({
  InputFile? file,
  FileType? fileType,
  int? priority,
}) => UploadFile(
  file: file ?? this.file,
  fileType: fileType ?? this.fileType,
  priority: priority ?? this.priority,
);