Session constructor
Session({
- String? sessionId,
- String? agentId,
- SessionState? authState,
- String? userId,
- String? userName,
- String? loginName,
- String? displayName,
- ObjectDetails? details,
- String? avatarUrl,
Implementation
factory Session({
$core.String? sessionId,
$core.String? agentId,
SessionState? authState,
$core.String? userId,
$core.String? userName,
$core.String? loginName,
$core.String? displayName,
$8.ObjectDetails? details,
$core.String? avatarUrl,
}) {
final $result = create();
if (sessionId != null) {
$result.sessionId = sessionId;
}
if (agentId != null) {
$result.agentId = agentId;
}
if (authState != null) {
$result.authState = authState;
}
if (userId != null) {
$result.userId = userId;
}
if (userName != null) {
$result.userName = userName;
}
if (loginName != null) {
$result.loginName = loginName;
}
if (displayName != null) {
$result.displayName = displayName;
}
if (details != null) {
$result.details = details;
}
if (avatarUrl != null) {
$result.avatarUrl = avatarUrl;
}
return $result;
}