Skip to content

Commit 57f71b5

Browse files
gnpricechrisbobbe
authored andcommitted
api [nfc]: Update todo-comment on User.avatarUrl as we have JsonNullable
1 parent b22411d commit 57f71b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api/model/model.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class User {
204204
@JsonKey(unknownEnumValue: UserRole.unknown)
205205
UserRole role;
206206
String timezone;
207-
String? avatarUrl; // TODO distinguish null from missing https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/flutter.3A.20omitted.20vs.2E.20null.20in.20JSON/near/1551759
207+
String? avatarUrl; // TODO(#255) distinguish null from missing, as a `JsonNullable<String>?`
208208
int avatarVersion;
209209

210210
// null for bots, which don't have custom profile fields.

0 commit comments

Comments
 (0)