CreateUserRequest constructor

CreateUserRequest({
  1. String? externalId,
  2. String? firstName,
  3. String? lastName,
  4. String? locale,
  5. List<String> emailAddress = const [],
  6. List<String> phoneNumber = const [],
  7. List<String> web3Wallet = const [],
  8. String? username,
  9. String? password,
  10. String? passwordDigest,
  11. String? passwordHasher,
  12. bool? skipPasswordChecks,
  13. bool? skipPasswordRequirement,
  14. String? totpSecret,
  15. List<String> backupCodes = const [],
  16. Map<String, Object> publicMetadata = const {},
  17. Map<String, Object> privateMetadata = const {},
  18. Map<String, Object> unsafeMetadata = const {},
  19. bool? deleteSelfEnabled,
  20. String? legalAcceptedAt,
  21. bool? skipLegalChecks,
  22. bool? skipUserRequirement,
  23. bool? createOrganizationEnabled,
  24. int? createOrganizationsLimit,
  25. String? createdAt,
  26. bool? bypassClientTrust,
})

Returns a new CreateUserRequest instance.

Implementation

CreateUserRequest({
  this.externalId,
  this.firstName,
  this.lastName,
  this.locale,
  this.emailAddress = const [],
  this.phoneNumber = const [],
  this.web3Wallet = const [],
  this.username,
  this.password,
  this.passwordDigest,
  this.passwordHasher,
  this.skipPasswordChecks,
  this.skipPasswordRequirement,
  this.totpSecret,
  this.backupCodes = const [],
  this.publicMetadata = const {},
  this.privateMetadata = const {},
  this.unsafeMetadata = const {},
  this.deleteSelfEnabled,
  this.legalAcceptedAt,
  this.skipLegalChecks,
  this.skipUserRequirement,
  this.createOrganizationEnabled,
  this.createOrganizationsLimit,
  this.createdAt,
  this.bypassClientTrust,
});