Version constructor

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

Implementation

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