RestrictedUser constructor
RestrictedUser({
- required String userId,
- required String nickname,
- String? profileUrl,
- UserConnectionStatus connectionStatus = UserConnectionStatus.notAvailable,
- int? lastSeenAt,
- List<
String> ? preferredLanguages, - String? friendDiscoveryKey,
- String? friendName,
- List<
String> ? discoveryKeys, - Map<
String, String> metaData = const {}, - bool requireAuth = false,
Implementation
RestrictedUser({
required String userId,
required String nickname,
String? profileUrl,
UserConnectionStatus connectionStatus = UserConnectionStatus.notAvailable,
int? lastSeenAt,
List<String>? preferredLanguages,
String? friendDiscoveryKey,
String? friendName,
List<String>? discoveryKeys,
Map<String, String> metaData = const {},
bool requireAuth = false,
}) : super(
userId: userId,
nickname: nickname,
profileUrl: profileUrl,
connectionStatus: connectionStatus,
lastSeenAt: lastSeenAt,
preferredLanguages: preferredLanguages,
friendDiscoveryKey: friendDiscoveryKey,
friendName: friendName,
discoveryKeys: discoveryKeys,
metaData: metaData,
requireAuth: requireAuth,
);