Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$currentUser.fromJson constructor
Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$currentUser.fromJson()
Implementation
factory Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$currentUser.fromJson(
Map<String, dynamic> json) {
final l$rank = json['rank'];
final l$credit = json['credit'];
final l$user = json['user'];
final l$$__typename = json['__typename'];
return Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$currentUser(
rank: (l$rank as int),
credit: (l$credit as String?),
user:
Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$currentUser$user
.fromJson((l$user as Map<String, dynamic>)),
$__typename: (l$$__typename as String),
);
}