IcureStub constructor

IcureStub(
  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. Set<String>? secretForeignKeys,
  12. Map<String, Set<Delegation>>? cryptedForeignKeys,
  13. Map<String, Set<Delegation>>? delegations,
  14. Map<String, Set<Delegation>>? encryptionKeys,
  15. SecurityMetadata? securityMetadata,
})

Implementation

IcureStub(
	this.id,
	{
		String? rev,
		int? created,
		int? modified,
		String? author,
		String? responsible,
		String? medicalLocationId,
		Set<CodeStub>? tags,
		Set<CodeStub>? codes,
		int? endOfLife,
		Set<String>? secretForeignKeys,
		Map<String, Set<Delegation>>? cryptedForeignKeys,
		Map<String, Set<Delegation>>? delegations,
		Map<String, Set<Delegation>>? encryptionKeys,
		SecurityMetadata? securityMetadata
	}) : 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,
	secretForeignKeys = secretForeignKeys ?? {},
	cryptedForeignKeys = cryptedForeignKeys ?? {},
	delegations = delegations ?? {},
	encryptionKeys = encryptionKeys ?? {},
	securityMetadata = securityMetadata ?? null;