User constructor

User({
  1. String? id,
  2. num? createdTimestamp,
  3. String? username,
  4. bool? enabled,
  5. bool? totp,
  6. bool? emailVerified,
  7. List<String> requiredActions = const [],
  8. Object? attributes,
  9. List<String> roles = const [],
  10. String? email,
  11. String? firstName,
  12. String? lastName,
  13. List<String> notificationTokens = const [],
})

Returns a new User instance.

Implementation

User({
  this.id,
  this.createdTimestamp,
  this.username,
  this.enabled,
  this.totp,
  this.emailVerified,
  this.requiredActions = const [],
  this.attributes,
  this.roles = const [],
  this.email,
  this.firstName,
  this.lastName,
  this.notificationTokens = const [],
});