DocumentTemplate constructor

DocumentTemplate(
  1. String id, {
  2. String? rev,
  3. int? created,
  4. int? modified,
  5. String? author,
  6. String? responsible,
  7. String? medicalLocationId,
  8. Set<CodeStub>? tags,
  9. Set<CodeStub>? codes,
  10. int? endOfLife,
  11. int? deletionDate,
  12. Uint8List? attachment,
  13. DocumentType? documentType,
  14. String? mainUti,
  15. String? name,
  16. Set<String>? otherUtis,
  17. String? attachmentId,
  18. ReportVersion? version,
  19. String? owner,
  20. String? guid,
  21. DocumentGroup? group,
  22. String? descr,
  23. String? disabled,
  24. CodeStub? specialty,
})

Implementation

DocumentTemplate(
	this.id,
	{
		String? rev,
		int? created,
		int? modified,
		String? author,
		String? responsible,
		String? medicalLocationId,
		Set<CodeStub>? tags,
		Set<CodeStub>? codes,
		int? endOfLife,
		int? deletionDate,
		Uint8List? attachment,
		DocumentType? documentType,
		String? mainUti,
		String? name,
		Set<String>? otherUtis,
		String? attachmentId,
		ReportVersion? version,
		String? owner,
		String? guid,
		DocumentGroup? group,
		String? descr,
		String? disabled,
		CodeStub? specialty
	}) : rev = rev ?? null,
	created = created ?? null,
	modified = modified ?? null,
	author = author ?? null,
	responsible = responsible ?? null,
	medicalLocationId = medicalLocationId ?? null,
	tags = tags ?? {},
	codes = codes ?? {},
	endOfLife = endOfLife ?? null,
	deletionDate = deletionDate ?? null,
	attachment = attachment ?? null,
	documentType = documentType ?? null,
	mainUti = mainUti ?? null,
	name = name ?? null,
	otherUtis = otherUtis ?? {},
	attachmentId = attachmentId ?? null,
	version = version ?? null,
	owner = owner ?? null,
	guid = guid ?? null,
	group = group ?? null,
	descr = descr ?? null,
	disabled = disabled ?? null,
	specialty = specialty ?? null;