User constructor

User(
  1. String id, {
  2. String? rev,
  3. int? deletionDate,
  4. int? created,
  5. List<Identifier>? identifier,
  6. String? name,
  7. Set<DecryptedPropertyStub>? properties,
  8. Set<Permission>? permissions,
  9. Set<String>? roles,
  10. UsersType? type,
  11. UsersStatus? status,
  12. String? login,
  13. String? passwordHash,
  14. String? groupId,
  15. String? healthcarePartyId,
  16. String? patientId,
  17. String? deviceId,
  18. Map<DelegationTag, Set<String>>? autoDelegations,
  19. DateTime? createdDate,
  20. DateTime? termsOfUseDate,
  21. String? email,
  22. String? mobilePhone,
  23. Map<String, String>? applicationTokens,
  24. Map<String, AuthenticationToken>? authenticationTokens,
  25. UserSystemMetadata? systemMetadata,
})

Implementation

User(
	this.id,
	{
		String? rev,
		int? deletionDate,
		int? created,
		List<Identifier>? identifier,
		String? name,
		Set<DecryptedPropertyStub>? properties,
		Set<Permission>? permissions,
		Set<String>? roles,
		UsersType? type,
		UsersStatus? status,
		String? login,
		String? passwordHash,
		String? groupId,
		String? healthcarePartyId,
		String? patientId,
		String? deviceId,
		Map<DelegationTag, Set<String>>? autoDelegations,
		DateTime? createdDate,
		DateTime? termsOfUseDate,
		String? email,
		String? mobilePhone,
		Map<String, String>? applicationTokens,
		Map<String, AuthenticationToken>? authenticationTokens,
		UserSystemMetadata? systemMetadata
	}) : rev = rev ?? null,
	deletionDate = deletionDate ?? null,
	created = created ?? null,
	identifier = identifier ?? [],
	name = name ?? null,
	properties = properties ?? {},
	permissions = permissions ?? {},
	roles = roles ?? {},
	type = type ?? null,
	status = status ?? null,
	login = login ?? null,
	passwordHash = passwordHash ?? null,
	groupId = groupId ?? null,
	healthcarePartyId = healthcarePartyId ?? null,
	patientId = patientId ?? null,
	deviceId = deviceId ?? null,
	autoDelegations = autoDelegations ?? {},
	createdDate = createdDate ?? null,
	termsOfUseDate = termsOfUseDate ?? null,
	email = email ?? null,
	mobilePhone = mobilePhone ?? null,
	applicationTokens = applicationTokens ?? {},
	authenticationTokens = authenticationTokens ?? {},
	systemMetadata = systemMetadata ?? null;