ContactDto constructor

ContactDto({
  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? groupId,
  13. int? openingDate,
  14. int? closingDate,
  15. String? descr,
  16. String? location,
  17. String? externalId,
  18. CodeStubDto? encounterType,
  19. Set<SubContactDto> subContacts = const {},
  20. Set<ServiceDto> services = const {},
  21. String? healthcarePartyId,
  22. String? modifiedContactId,
  23. Set<String> secretForeignKeys = const {},
  24. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  25. Map<String, Set<DelegationDto>> delegations = const {},
  26. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  27. String? encryptedSelf,
})

Returns a new ContactDto instance.

Implementation

ContactDto({
  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.groupId,
  this.openingDate,
  this.closingDate,
  this.descr,
  this.location,
  this.externalId,
  this.encounterType,
  this.subContacts = const {},
  this.services = const {},
  this.healthcarePartyId,
  this.modifiedContactId,
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});