copyWith method

AttachmentArchiveItemReadable copyWith({
  1. int? index,
  2. String? label,
  3. String? mediaType,
  4. String? path,
  5. String? size,
})

Implementation

AttachmentArchiveItemReadable copyWith(
    {int? index,
    String? label,
    String? mediaType,
    String? path,
    String? size}) {
  return AttachmentArchiveItemReadable(
    index: index ?? this.index,
    label: label ?? this.label,
    mediaType: mediaType ?? this.mediaType,
    path: path ?? this.path,
    size: size ?? this.size,
  );
}