TimeTableDto constructor

TimeTableDto({
  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. String? agendaId,
  14. required bool publicTimeTable,
  15. int? startTime,
  16. int? endTime,
  17. List<TimeTableItemDto> items = const [],
  18. Set<String> secretForeignKeys = const {},
  19. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  20. Map<String, Set<DelegationDto>> delegations = const {},
  21. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  22. String? encryptedSelf,
})

Returns a new TimeTableDto instance.

Implementation

TimeTableDto({
  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.agendaId,
  required this.publicTimeTable,
  this.startTime,
  this.endTime,
  this.items = const [],
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});