RestrictedUser constructor

RestrictedUser({
  1. required String userId,
  2. required String nickname,
  3. String? profileUrl,
  4. UserConnectionStatus connectionStatus = UserConnectionStatus.notAvailable,
  5. int? lastSeenAt,
  6. List<String>? preferredLanguages,
  7. String? friendDiscoveryKey,
  8. String? friendName,
  9. List<String>? discoveryKeys,
  10. Map<String, String> metaData = const {},
  11. 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,
      );