getGraphQLPayloadUserSolveCountByDifficulty function

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

Implementation

String getGraphQLPayloadUserSolveCountByDifficulty({required String username}) => r'''{
		"query": "\n    query userProblemsSolved($username: String!) {\n  allQuestionsCount {\n    difficulty\n    count\n  }\n  matchedUser(username: $username) {\n    problemsSolvedBeatsStats {\n      difficulty\n      percentage\n    }\n    submitStatsGlobal {\n      acSubmissionNum {\n        difficulty\n        count\n      }\n    }\n  }\n}\n    ",
		"variables": {
			"username": "#username"
		}
	}'''
    .replaceAll('#username', username);