AttachmentVersion constructor

AttachmentVersion({
  1. DateTime? createdAt,
  2. String? message,
  3. int? number,
  4. bool? minorEdit,
  5. String? authorId,
  6. VersionedEntity? attachment,
})

Implementation

AttachmentVersion(
    {this.createdAt,
    this.message,
    this.number,
    bool? minorEdit,
    this.authorId,
    this.attachment})
    : minorEdit = minorEdit ?? false;