copyWith method
AttachmentCreateDTO
copyWith({
- AdditionalCommentDTO? additionalComment,
- bool? public,
- List<
String> ? temporaryAttachmentIds,
Implementation
AttachmentCreateDTO copyWith(
{AdditionalCommentDTO? additionalComment,
bool? public,
List<String>? temporaryAttachmentIds}) {
return AttachmentCreateDTO(
additionalComment: additionalComment ?? this.additionalComment,
public: public ?? this.public,
temporaryAttachmentIds:
temporaryAttachmentIds ?? this.temporaryAttachmentIds,
);
}