HumanUser constructor
HumanUser({
- String? userId,
- UserState? state,
- String? username,
- Iterable<
String> ? loginNames, - String? preferredLoginName,
- HumanProfile? profile,
- HumanEmail? email,
- HumanPhone? phone,
Implementation
factory HumanUser({
$core.String? userId,
UserState? state,
$core.String? username,
$core.Iterable<$core.String>? loginNames,
$core.String? preferredLoginName,
HumanProfile? profile,
$2.HumanEmail? email,
$3.HumanPhone? phone,
}) {
final $result = create();
if (userId != null) {
$result.userId = userId;
}
if (state != null) {
$result.state = state;
}
if (username != null) {
$result.username = username;
}
if (loginNames != null) {
$result.loginNames.addAll(loginNames);
}
if (preferredLoginName != null) {
$result.preferredLoginName = preferredLoginName;
}
if (profile != null) {
$result.profile = profile;
}
if (email != null) {
$result.email = email;
}
if (phone != null) {
$result.phone = phone;
}
return $result;
}