BlogPostVersion constructor

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

Implementation

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