copyWith method
      
CommentDTO
copyWith({ 
    
    
- List<
String> ? expands, - SelfLinkDTO? links,
 - PagedDTOAttachmentDTO? attachments,
 - UserDTO? author,
 - String? body,
 - DateDTO? created,
 - String? id,
 - bool? public,
 - RenderedValueDTO? renderedBody,
 
Implementation
CommentDTO copyWith(
    {List<String>? expands,
    SelfLinkDTO? links,
    PagedDTOAttachmentDTO? attachments,
    UserDTO? author,
    String? body,
    DateDTO? created,
    String? id,
    bool? public,
    RenderedValueDTO? renderedBody}) {
  return CommentDTO(
    expands: expands ?? this.expands,
    links: links ?? this.links,
    attachments: attachments ?? this.attachments,
    author: author ?? this.author,
    body: body ?? this.body,
    created: created ?? this.created,
    id: id ?? this.id,
    public: public ?? this.public,
    renderedBody: renderedBody ?? this.renderedBody,
  );
}