copyWith method
Implementation
CommentVersion copyWith(
{DateTime? createdAt,
String? message,
int? number,
bool? minorEdit,
String? authorId,
VersionedEntity? comment}) {
return CommentVersion(
createdAt: createdAt ?? this.createdAt,
message: message ?? this.message,
number: number ?? this.number,
minorEdit: minorEdit ?? this.minorEdit,
authorId: authorId ?? this.authorId,
comment: comment ?? this.comment,
);
}