copyWith method
Document
copyWith({
- String? fileName,
- String? mimeType,
- Minithumbnail? minithumbnail,
- Thumbnail? thumbnail,
- File? document,
Implementation
Document copyWith({
String? fileName,
String? mimeType,
Minithumbnail? minithumbnail,
Thumbnail? thumbnail,
File? document,
}) => Document(
fileName: fileName ?? this.fileName,
mimeType: mimeType ?? this.mimeType,
minithumbnail: minithumbnail ?? this.minithumbnail,
thumbnail: thumbnail ?? this.thumbnail,
document: document ?? this.document,
);