@@ -32,25 +32,26 @@ class LimitedUser {
3232 // Common optional fields (present in all but optional)
3333 this .bio,
3434 this .bioLinks,
35- this .currentAvatarImageUrl,
36- this .currentAvatarThumbnailImageUrl,
37- this .currentAvatarTags,
38- this .profilePicOverride,
39- this .userIcon,
4035
4136 // Fields from specific variants
4237 this .ageVerificationStatus,
4338 this .ageVerified,
4439 this .allowAvatarCopying,
40+ this .currentAvatarImageUrl,
41+ this .currentAvatarThumbnailImageUrl,
42+ this .currentAvatarTags,
4543 this .dateJoined,
4644 this .friendKey,
45+ this .iconUrl,
4746 this .imageUrl,
4847 this .location,
4948 this .lastLogin,
5049 this .lastActivity,
5150 this .lastMobile,
5251 this .platform,
52+ this .profilePicOverride,
5353 this .profilePicOverrideThumbnail,
54+ this .userIcon,
5455 this .pronouns,
5556 this .state,
5657 });
@@ -153,6 +154,10 @@ class LimitedUser {
153154 @JsonKey (name: r'friendKey' , required : false , includeIfNull: false )
154155 final String ? friendKey;
155156
157+ /// The user's icon URL.
158+ @JsonKey (name: r'iconUrl' , required : false , includeIfNull: false )
159+ final String ? iconUrl;
160+
156161 /// The user's image URL.
157162 @JsonKey (name: r'imageUrl' , required : false , includeIfNull: false )
158163 final String ? imageUrl;
@@ -218,6 +223,7 @@ class LimitedUser {
218223 other.allowAvatarCopying == allowAvatarCopying &&
219224 other.dateJoined == dateJoined &&
220225 other.friendKey == friendKey &&
226+ other.iconUrl == iconUrl &&
221227 other.imageUrl == imageUrl &&
222228 other.location == location &&
223229 other.lastLogin == lastLogin &&
@@ -250,6 +256,7 @@ class LimitedUser {
250256 (allowAvatarCopying? .hashCode ?? 0 ) +
251257 (dateJoined? .hashCode ?? 0 ) +
252258 (friendKey? .hashCode ?? 0 ) +
259+ (iconUrl? .hashCode ?? 0 ) +
253260 (imageUrl? .hashCode ?? 0 ) +
254261 (location? .hashCode ?? 0 ) +
255262 (lastLogin? .hashCode ?? 0 ) +
0 commit comments