copyWith method
Implementation
HtmlEditorFile copyWith({
String? name,
int? size,
String? mimeType,
String? base64,
int? lastModified,
DateTime? lastModifiedDate,
}) {
return HtmlEditorFile(
name: name ?? this.name,
size: size ?? this.size,
mimeType: mimeType ?? this.mimeType,
base64: base64 ?? this.base64,
lastModified: lastModified ?? this.lastModified,
lastModifiedDate: lastModifiedDate ?? this.lastModifiedDate,
);
}