copyWith method
Implementation
FileUploadData copyWith({
String? fileName,
int? fileSize,
}) {
return FileUploadData(
fileName: fileName ?? this.fileName,
fileSize: fileSize ?? this.fileSize,
);
}
FileUploadData copyWith({
String? fileName,
int? fileSize,
}) {
return FileUploadData(
fileName: fileName ?? this.fileName,
fileSize: fileSize ?? this.fileSize,
);
}