Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser.fromJson constructor
Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser.fromJson()
Implementation
factory Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser.fromJson(
Map<String, dynamic> json) {
final l$count = json['count'];
final l$isLast = json['isLast'];
final l$objects = json['objects'];
final l$currentUser = json['currentUser'];
return Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser(
count: (l$count as int?),
isLast: (l$isLast as bool?),
objects: (l$objects as List<dynamic>)
.map((e) =>
Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects
.fromJson((e as Map<String, dynamic>)))
.toList(),
currentUser: l$currentUser == null
? null
: Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$currentUser
.fromJson((l$currentUser as Map<String, dynamic>)),
);
}