ArticleDto constructor

ArticleDto({
  1. required String id,
  2. String? rev,
  3. int? created,
  4. int? modified,
  5. String? author,
  6. String? responsible,
  7. String? medicalLocationId,
  8. Set<CodeStubDto> tags = const {},
  9. Set<CodeStubDto> codes = const {},
  10. int? endOfLife,
  11. int? deletionDate,
  12. String? name,
  13. List<ContentDto> content = const [],
  14. String? classification,
  15. Set<String> secretForeignKeys = const {},
  16. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  17. Map<String, Set<DelegationDto>> delegations = const {},
  18. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  19. String? encryptedSelf,
})

Returns a new ArticleDto instance.

Implementation

ArticleDto({
  required this.id,
  this.rev,
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.medicalLocationId,
  this.tags = const {},
  this.codes = const {},
  this.endOfLife,
  this.deletionDate,
  this.name,
  this.content = const [],
  this.classification,
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});