UserDto constructor

UserDto({
  1. required String id,
  2. String? rev,
  3. int? deletionDate,
  4. int? created,
  5. String? name,
  6. Set<PropertyStubDto> properties = const {},
  7. Set<PermissionDto> permissions = const {},
  8. Set<String> roles = const {},
  9. UserDtoTypeEnum? type,
  10. UserDtoStatusEnum? status,
  11. String? login,
  12. String? passwordHash,
  13. String? secret,
  14. bool? use2fa,
  15. String? groupId,
  16. String? healthcarePartyId,
  17. String? patientId,
  18. String? deviceId,
  19. Map<String, Set<String>> autoDelegations = const {},
  20. DateTime? createdDate,
  21. DateTime? termsOfUseDate,
  22. String? email,
  23. String? mobilePhone,
  24. Map<String, String> applicationTokens = const {},
  25. Map<String, AuthenticationTokenDto> authenticationTokens = const {},
})

Returns a new UserDto instance.

Implementation

UserDto({
  required this.id,
  this.rev,
  this.deletionDate,
  this.created,
  this.name,
  this.properties = const {},
  this.permissions = const {},
  this.roles = const {},
  this.type,
  this.status,
  this.login,
  this.passwordHash,
  this.secret,
  this.use2fa,
  this.groupId,
  this.healthcarePartyId,
  this.patientId,
  this.deviceId,
  this.autoDelegations = const {},
  this.createdDate,
  this.termsOfUseDate,
  this.email,
  this.mobilePhone,
  this.applicationTokens = const {},
  this.authenticationTokens = const {},
});