copyWith method
创建FileInfo的副本,可选择性地更新某些字段
Implementation
FileInfo copyWith({dynamic id, String? fileName, String? requestPath}) {
return FileInfo(id: id ?? this.id, fileName: fileName ?? this.fileName, requestPath: requestPath ?? this.requestPath);
}