Member constructor
Member({})
Implementation
factory Member({
$core.String? userId,
$8.ObjectDetails? details,
$core.Iterable<$core.String>? roles,
$core.String? preferredLoginName,
$core.String? email,
$core.String? firstName,
$core.String? lastName,
$core.String? displayName,
$core.String? avatarUrl,
$11.Type? userType,
}) {
final $result = create();
if (userId != null) {
$result.userId = userId;
}
if (details != null) {
$result.details = details;
}
if (roles != null) {
$result.roles.addAll(roles);
}
if (preferredLoginName != null) {
$result.preferredLoginName = preferredLoginName;
}
if (email != null) {
$result.email = email;
}
if (firstName != null) {
$result.firstName = firstName;
}
if (lastName != null) {
$result.lastName = lastName;
}
if (displayName != null) {
$result.displayName = displayName;
}
if (avatarUrl != null) {
$result.avatarUrl = avatarUrl;
}
if (userType != null) {
$result.userType = userType;
}
return $result;
}