copyWith method

AttachmentArchiveMetadataReadable copyWith({
  1. List<AttachmentArchiveItemReadable>? entries,
  2. int? id,
  3. String? mediaType,
  4. String? name,
  5. int? totalEntryCount,
})

Implementation

AttachmentArchiveMetadataReadable copyWith(
    {List<AttachmentArchiveItemReadable>? entries,
    int? id,
    String? mediaType,
    String? name,
    int? totalEntryCount}) {
  return AttachmentArchiveMetadataReadable(
    entries: entries ?? this.entries,
    id: id ?? this.id,
    mediaType: mediaType ?? this.mediaType,
    name: name ?? this.name,
    totalEntryCount: totalEntryCount ?? this.totalEntryCount,
  );
}