User constructor
User({})
Implementation
factory User({
$core.String? userId,
UserState? state,
$core.String? username,
$core.Iterable<$core.String>? loginNames,
$core.String? preferredLoginName,
HumanUser? human,
MachineUser? machine,
}) {
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 (human != null) {
$result.human = human;
}
if (machine != null) {
$result.machine = machine;
}
return $result;
}