CreateUserRequest_Human constructor
CreateUserRequest_Human({
- SetHumanProfile? profile,
- SetHumanEmail? email,
- SetHumanPhone? phone,
- Password? password,
- HashedPassword? hashedPassword,
- Iterable<
IDPLink> ? idpLinks, - String? totpSecret,
- Iterable<
Metadata> ? metadata,
Implementation
factory CreateUserRequest_Human({
$1.SetHumanProfile? profile,
$2.SetHumanEmail? email,
$5.SetHumanPhone? phone,
$3.Password? password,
$3.HashedPassword? hashedPassword,
$core.Iterable<$4.IDPLink>? idpLinks,
$core.String? totpSecret,
$core.Iterable<Metadata>? metadata,
}) {
final result = create();
if (profile != null) result.profile = profile;
if (email != null) result.email = email;
if (phone != null) result.phone = phone;
if (password != null) result.password = password;
if (hashedPassword != null) result.hashedPassword = hashedPassword;
if (idpLinks != null) result.idpLinks.addAll(idpLinks);
if (totpSecret != null) result.totpSecret = totpSecret;
if (metadata != null) result.metadata.addAll(metadata);
return result;
}