Version constructor

Version({
  1. User? by,
  2. required DateTime when,
  3. String? friendlyWhen,
  4. String? message,
  5. required int number,
  6. required bool minorEdit,
  7. Content? content,
  8. UsersUserKeys? collaborators,
  9. VersionExpandable? expandable,
  10. GenericLinks? links,
  11. bool? contentTypeModified,
  12. String? confRev,
  13. String? syncRev,
  14. String? syncRevSource,
})

Implementation

Version(
    {this.by,
    required this.when,
    this.friendlyWhen,
    this.message,
    required this.number,
    required this.minorEdit,
    this.content,
    this.collaborators,
    this.expandable,
    this.links,
    bool? contentTypeModified,
    this.confRev,
    this.syncRev,
    this.syncRevSource})
    : contentTypeModified = contentTypeModified ?? false;