User constructor

User({
  1. String? id,
  2. String? rev,
  3. int? deletionDate,
  4. int? created,
  5. String? name,
  6. Set<Property> properties = const {},
  7. Set<String> roles = const {},
  8. String? login,
  9. String? passwordHash,
  10. String? secret,
  11. bool? use2fa,
  12. String? groupId,
  13. String? healthcarePartyId,
  14. String? patientId,
  15. String? deviceId,
  16. Map<String, Set<String>> autoDelegations = const {},
  17. String? email,
  18. String? mobilePhone,
  19. Map<String, AuthenticationToken> authenticationTokens = const {},
  20. UserStatus? status,
})

Returns a new User instance.

Implementation

User(
    {this.id,
    this.rev,
    this.deletionDate,
    this.created,
    this.name,
    this.properties = const {},
    this.roles = const {},
    this.login,
    this.passwordHash,
    this.secret,
    this.use2fa,
    this.groupId,
    this.healthcarePartyId,
    this.patientId,
    this.deviceId,
    this.autoDelegations = const {},
    this.email,
    this.mobilePhone,
    this.authenticationTokens = const {},
    this.status});