@@ -32,33 +32,38 @@ extension type Profile._(JSObject _) {
3232 String ? email,
3333 Favorites favorites,
3434 String ? firstName,
35- int ? followers ,
36- int ? following ,
35+ int ? followersCount ,
36+ int ? followingCount ,
3737 String ? gender,
3838 String ? hometown,
3939 String ? honors,
4040 String ? industry,
4141 String ? interests,
42+ bool ? isConnected,
43+ bool ? isSiteUser,
4244 String ? languages,
4345 String ? lastName,
4446 JSArray likes,
4547 String ? locale,
48+ String ? loginProvider,
49+ String ? loginProviderUID,
4650 String ? name,
4751 String ? nickname,
4852 JSArray patents,
4953 JSArray phones,
50- String ? photoUrl ,
54+ String ? photoURL ,
5155 String ? politicalView,
5256 String ? professionalHeadline,
53- String ? profileUrl,
57+ String ? profileURL,
58+ JSArray providers,
5459 String ? proxyEmail,
5560 JSArray publications,
5661 String ? relationshipStatus,
5762 String ? religion,
5863 JSArray skills,
5964 String ? specialities,
6065 String ? state,
61- String ? thumbnailUrl ,
66+ String ? thumbnailURL ,
6267 String ? timezone,
6368 String ? username,
6469 String ? verified,
@@ -84,6 +89,7 @@ extension type Profile._(JSObject _) {
8489 map['skills' ] as List <Map <String , dynamic >>? ?? const < Map <String , dynamic >> [];
8590 final List <Map <String , dynamic >> work =
8691 map['work' ] as List <Map <String , dynamic >>? ?? const < Map <String , dynamic >> [];
92+ final List <String > providers = map['providers' ] as List <String >? ?? < String > [];
8793
8894 return Profile (
8995 activities: map['activities' ] as String ? ,
@@ -103,33 +109,38 @@ extension type Profile._(JSObject _) {
103109 map['favorites' ] as Map <String , dynamic >? ?? const < String , dynamic > {},
104110 ),
105111 firstName: map['firstName' ] as String ? ,
106- followers : map['followers ' ] as int ? ,
107- following : map['following ' ] as int ? ,
112+ followersCount : map['followersCount ' ] as int ? ,
113+ followingCount : map['followingCount ' ] as int ? ,
108114 gender: map['gender' ] as String ? ,
109115 hometown: map['hometown' ] as String ? ,
110116 honors: map['honors' ] as String ? ,
111117 industry: map['industry' ] as String ? ,
112118 interests: map['interests' ] as String ? ,
119+ isConnected: map['isConnected' ] as bool ? ,
120+ isSiteUser: map['isSiteUser' ] as bool ? ,
113121 languages: map['languages' ] as String ? ,
114122 lastName: map['lastName' ] as String ? ,
115123 likes: likes.map (Like .fromMap).toList ().toJS,
116124 locale: map['locale' ] as String ? ,
125+ loginProvider: map['loginProvider' ] as String ? ,
126+ loginProviderUID: map['loginProviderUID' ] as String ? ,
117127 name: map['name' ] as String ? ,
118128 nickname: map['nickname' ] as String ? ,
119129 patents: patents.map (Patent .fromMap).toList ().toJS,
120130 phones: phones.map (Phone .fromMap).toList ().toJS,
121- photoUrl : map['photoUrl ' ] as String ? ,
131+ photoURL : map['photoURL ' ] as String ? ,
122132 politicalView: map['politicalView' ] as String ? ,
123133 professionalHeadline: map['professionalHeadline' ] as String ? ,
124- profileUrl: map['profileUrl' ] as String ? ,
134+ profileURL: map['profileURL' ] as String ? ,
135+ providers: providers.map ((String p) => p.toJS).toList ().toJS,
125136 proxyEmail: map['proxyEmail' ] as String ? ,
126137 publications: publications.map (Publication .fromMap).toList ().toJS,
127138 relationshipStatus: map['relationshipStatus' ] as String ? ,
128139 religion: map['religion' ] as String ? ,
129140 skills: skills.map (Skill .fromMap).toList ().toJS,
130141 specialities: map['specialities' ] as String ? ,
131142 state: map['state' ] as String ? ,
132- thumbnailUrl : map['thumbnailUrl ' ] as String ? ,
143+ thumbnailURL : map['thumbnailURL ' ] as String ? ,
133144 timezone: map['timezone' ] as String ? ,
134145 username: map['username' ] as String ? ,
135146 verified: map['verified' ] as String ? ,
0 commit comments