|
|
|
@ -17,6 +17,7 @@ class DemoMarathonRepo {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Future<QuestionModel> getDemoNextQuestion({required int currentQuestionNumber}) async {
|
|
|
|
Future<QuestionModel> getDemoNextQuestion({required int currentQuestionNumber}) async {
|
|
|
|
|
|
|
|
print("currentNumber: $currentQuestionNumber");
|
|
|
|
String response = await rootBundle.loadString('assets/json/demo_questions_marathon');
|
|
|
|
String response = await rootBundle.loadString('assets/json/demo_questions_marathon');
|
|
|
|
List json = jsonDecode(response);
|
|
|
|
List json = jsonDecode(response);
|
|
|
|
logger.i("json in getDemoNextQuestion: $json");
|
|
|
|
logger.i("json in getDemoNextQuestion: $json");
|
|
|
|
|