getTopInterviewProblems method

Future<ProblemList> getTopInterviewProblems({
  1. required int offset,
  2. required int pageSize,
})

Implementation

Future<ProblemList> getTopInterviewProblems({required int offset, required int pageSize}) async {
  final data = await makeGraphQLRequest(getGraphQLPayloadTopInterviewProblems(offset: offset, pageSize: pageSize));
  return ProblemList.fromJson(data['data']['problemsetQuestionList']);
}