getMyQuestions method

Future<QuestionResult?> getMyQuestions(
  1. int classId
)

Implementation

Future<QuestionResult?> getMyQuestions(int classId) async {
  var data = await HttpClient.post<QuestionResult, CommonGetQuestionParams>(
    api: "/v1/exam/getMyQuestions",
    body: CommonGetQuestionParams(classId: classId),
    fromJson: QuestionResult.fromJson,
  );
  return data;
}