getGraphQLPayloadUserContestRankingHistory function

String getGraphQLPayloadUserContestRankingHistory({
  1. required String username,
})

Implementation

String getGraphQLPayloadUserContestRankingHistory({required String username}) => r'''{
		"query": "\n    query userContestRankingInfo($username: String!) {\n  userContestRanking(username: $username) {\n    attendedContestsCount\n    rating\n    globalRanking\n    totalParticipants\n    topPercentage\n    badge {\n      name\n    }\n  }\n  userContestRankingHistory(username: $username) {\n    attended\n    trendDirection\n    problemsSolved\n    totalProblems\n    finishTimeInSeconds\n    rating\n    ranking\n    contest {\n      title\n      startTime\n    }\n  }\n}\n    ",
		"variables": {
			"username": "#username"
		}
	}'''
    .replaceAll('#username', username);