CalendarItemDto constructor

CalendarItemDto({
  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. required String title,
  13. String? calendarItemTypeId,
  14. String? masterCalendarItemId,
  15. String? patientId,
  16. bool? important,
  17. bool? homeVisit,
  18. String? phoneNumber,
  19. String? placeId,
  20. AddressDto? address,
  21. String? addressText,
  22. int? startTime,
  23. int? endTime,
  24. int? confirmationTime,
  25. String? confirmationId,
  26. int? duration,
  27. bool? allDay,
  28. String? details,
  29. bool? wasMigrated,
  30. String? agendaId,
  31. String? recurrenceId,
  32. Set<CalendarItemTagDto> meetingTags = const {},
  33. FlowItemDto? flowItem,
  34. Set<String> secretForeignKeys = const {},
  35. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  36. Map<String, Set<DelegationDto>> delegations = const {},
  37. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  38. String? encryptedSelf,
})

Returns a new CalendarItemDto instance.

Implementation

CalendarItemDto({
  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,
  required this.title,
  this.calendarItemTypeId,
  this.masterCalendarItemId,
  this.patientId,
  this.important,
  this.homeVisit,
  this.phoneNumber,
  this.placeId,
  this.address,
  this.addressText,
  this.startTime,
  this.endTime,
  this.confirmationTime,
  this.confirmationId,
  this.duration,
  this.allDay,
  this.details,
  this.wasMigrated,
  this.agendaId,
  this.recurrenceId,
  this.meetingTags = const {},
  this.flowItem,
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});