DetailedVersion constructor

DetailedVersion({
  1. int? number,
  2. String? authorId,
  3. String? message,
  4. DateTime? createdAt,
  5. bool? minorEdit,
  6. bool? contentTypeModified,
  7. List<String>? collaborators,
  8. int? prevVersion,
  9. int? nextVersion,
})

Implementation

DetailedVersion(
    {this.number,
    this.authorId,
    this.message,
    this.createdAt,
    bool? minorEdit,
    bool? contentTypeModified,
    List<String>? collaborators,
    this.prevVersion,
    this.nextVersion})
    : minorEdit = minorEdit ?? false,
      contentTypeModified = contentTypeModified ?? false,
      collaborators = collaborators ?? [];