getUserContestRankingHistory method

Future<UserContestRankingDetails> getUserContestRankingHistory({
  1. required String username,
})

Implementation

Future<UserContestRankingDetails> getUserContestRankingHistory({required String username}) async {
  final data = await makeGraphQLRequest(getGraphQLPayloadUserContestRankingHistory(username: username));
  return UserContestRankingDetails.fromJson(data['data']);
}