UserPresence constructor
UserPresence({
- String? userId,
- String? sessionId,
- String? username,
- bool? persistence,
- StringValue? status,
Implementation
factory UserPresence({
$core.String? userId,
$core.String? sessionId,
$core.String? username,
$core.bool? persistence,
$1.StringValue? status,
}) {
final _result = create();
if (userId != null) {
_result.userId = userId;
}
if (sessionId != null) {
_result.sessionId = sessionId;
}
if (username != null) {
_result.username = username;
}
if (persistence != null) {
_result.persistence = persistence;
}
if (status != null) {
_result.status = status;
}
return _result;
}