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