Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects$user.fromJson constructor
Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects$user.fromJson()
Implementation
factory Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects$user.fromJson(
Map<String, dynamic> json) {
final l$id = json['id'];
final l$email = json['email'];
final l$picture = json['picture'];
final l$lastName = json['lastName'];
final l$firstName = json['firstName'];
final l$phone = json['phone'];
return Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects$user(
id: (l$id as String),
email: (l$email as String?),
picture: l$picture == null
? null
: Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects$user$picture
.fromJson((l$picture as Map<String, dynamic>)),
lastName: (l$lastName as String?),
firstName: (l$firstName as String?),
phone: l$phone == null
? null
: Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects$user$phone
.fromJson((l$phone as Map<String, dynamic>)),
);
}