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. Map<String, String> metaData = const {},
  10. 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 = '',
  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,
        metaData: metaData,
        requireAuth: requireAuth,
      );