Query$getLiveLeaderboardByCycleForCurrentUserPaginated$getLiveLeaderboardByCycleForCurrentUserPaginated$currentUser.fromJson constructor

Query$getLiveLeaderboardByCycleForCurrentUserPaginated$getLiveLeaderboardByCycleForCurrentUserPaginated$currentUser.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$getLiveLeaderboardByCycleForCurrentUserPaginated$getLiveLeaderboardByCycleForCurrentUserPaginated$currentUser.fromJson(
    Map<String, dynamic> json) {
  final l$rank = json['rank'];
  final l$entryDate = json['entryDate'];
  final l$credit = json['credit'];
  final l$user = json['user'];
  return Query$getLiveLeaderboardByCycleForCurrentUserPaginated$getLiveLeaderboardByCycleForCurrentUserPaginated$currentUser(
    rank: (l$rank as int),
    entryDate: dateTimeFromJson(l$entryDate),
    credit: decimalFromJson(l$credit),
    user: l$user == null
        ? null
        : Query$getLiveLeaderboardByCycleForCurrentUserPaginated$getLiveLeaderboardByCycleForCurrentUserPaginated$currentUser$user
            .fromJson((l$user as Map<String, dynamic>)),
  );
}