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