MaintenanceTaskDto constructor

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

Returns a new MaintenanceTaskDto instance.

Implementation

MaintenanceTaskDto({
  required this.id,
  this.rev,
  this.identifier = const [],
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.medicalLocationId,
  this.tags = const {},
  this.codes = const {},
  this.endOfLife,
  this.deletionDate,
  this.taskType,
  this.properties = const {},
  required this.status,
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});