copyWith method

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

Implementation

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