copyWith method

CommentBodyWrite copyWith({
  1. CommentBodyWriteRepresentation? representation,
  2. String? value,
})

Implementation

CommentBodyWrite copyWith(
    {CommentBodyWriteRepresentation? representation, String? value}) {
  return CommentBodyWrite(
    representation: representation ?? this.representation,
    value: value ?? this.value,
  );
}