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