ServiceDto constructor

ServiceDto({
  1. required String id,
  2. String? transactionId,
  3. List<IdentifierDto> identifier = const [],
  4. String? contactId,
  5. Set<String> subContactIds = const {},
  6. Set<String> plansOfActionIds = const {},
  7. Set<String> healthElementsIds = const {},
  8. Set<String> formIds = const {},
  9. Set<String> secretForeignKeys = const {},
  10. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  11. Map<String, Set<DelegationDto>> delegations = const {},
  12. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  13. String? label,
  14. int? index,
  15. Map<String, ContentDto> content = const {},
  16. String? encryptedContent,
  17. Map<String, String> textIndexes = const {},
  18. int? valueDate,
  19. int? openingDate,
  20. int? closingDate,
  21. String? formId,
  22. int? created,
  23. int? modified,
  24. int? endOfLife,
  25. String? author,
  26. String? responsible,
  27. String? medicalLocationId,
  28. String? comment,
  29. int? status,
  30. Set<String> invoicingCodes = const {},
  31. List<AnnotationDto> notes = const [],
  32. Map<String, Map<String, String>> qualifiedLinks = const {},
  33. Set<CodeStubDto> codes = const {},
  34. Set<CodeStubDto> tags = const {},
  35. String? encryptedSelf,
})

Returns a new ServiceDto instance.

Implementation

ServiceDto({
  required this.id,
  this.transactionId,
  this.identifier = const [],
  this.contactId,
  this.subContactIds = const {},
  this.plansOfActionIds = const {},
  this.healthElementsIds = const {},
  this.formIds = const {},
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.label,
  this.index,
  this.content = const {},
  this.encryptedContent,
  this.textIndexes = const {},
  this.valueDate,
  this.openingDate,
  this.closingDate,
  this.formId,
  this.created,
  this.modified,
  this.endOfLife,
  this.author,
  this.responsible,
  this.medicalLocationId,
  this.comment,
  this.status,
  this.invoicingCodes = const {},
  this.notes = const [],
  this.qualifiedLinks = const {},
  this.codes = const {},
  this.tags = const {},
  this.encryptedSelf,
});