copyWith method

HtmlEditorFile copyWith({
  1. String? name,
  2. int? size,
  3. String? mimeType,
  4. String? base64,
  5. int? lastModified,
  6. DateTime? lastModifiedDate,
})

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,
  );
}