Commit 875e5a2 1 parent 499bf3b commit 875e5a2 Copy full SHA for 875e5a2
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,9 @@ class UserWithExtra extends User {
223
223
..entities = json['entities' ] == null ? null : UserEntities .fromJson (json['entities' ] as Map <String , dynamic >)
224
224
..description = json['description' ] as String ?
225
225
..protected = json['protected' ] as bool ?
226
- ..verified = json['ext_is_blue_verified' ] ?? json['verified' ] ?? json['is_blue_verified' ] as bool ?
226
+ ..verified = json['verified_type' ] == "Business"
227
+ ? true
228
+ : json['ext_is_blue_verified' ] ?? json['verified' ] ?? json['is_blue_verified' ] as bool ?
227
229
..status = json['status' ] == null ? null : Tweet .fromJson (json['status' ] as Map <String , dynamic >)
228
230
..followersCount = json['followers_count' ] as int ?
229
231
..friendsCount = json['friends_count' ] as int ?
You can’t perform that action at this time.
0 commit comments