Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects.fromJson constructor

Query$getChallengeLeaderboardWithCurrentUser$getChallengeLeaderboardWithCurrentUser$objects.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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