UserSessionInfo constructor

UserSessionInfo({
  1. String? id,
  2. bool? authorized,
  3. String? avatarSrc,
  4. List<CommentUserBadgeInfo> badges = const [],
  5. String? displayLabel,
  6. String? displayName,
  7. String? email,
  8. List<String> groupIds = const [],
  9. bool? hasBlockedUsers,
  10. bool? isAnonSession,
  11. bool? needsTOS,
  12. String? sessionId,
  13. String? username,
  14. String? websiteUrl,
})

Returns a new UserSessionInfo instance.

Implementation

UserSessionInfo({
  this.id,
  this.authorized,
  this.avatarSrc,
  this.badges = const [],
  this.displayLabel,
  this.displayName,
  this.email,
  this.groupIds = const [],
  this.hasBlockedUsers,
  this.isAnonSession,
  this.needsTOS,
  this.sessionId,
  this.username,
  this.websiteUrl,
});