createQuestion method

Future<CreateQuestionResult?> createQuestion(
  1. CreateQeustionParam params
)

Implementation

Future<CreateQuestionResult?> createQuestion(
  CreateQeustionParam params,
) async {
  var data = await HttpClient.post<CreateQuestionResult, CreateQeustionParam>(
    api: "/v1/exam/createQuestion",
    body: params,
    fromJson: CreateQuestionResult.fromJson,
  );
  return data;
}