copyWith method
Implementation
CommentCreateDTO copyWith({String? body, bool? public}) {
return CommentCreateDTO(
body: body ?? this.body,
public: public ?? this.public,
);
}
CommentCreateDTO copyWith({String? body, bool? public}) {
return CommentCreateDTO(
body: body ?? this.body,
public: public ?? this.public,
);
}