Future<String>_loadFromAsset() async { return await rootBundle.loadString("assets/quiz.json"); } Future parseJson() async { String jsonString = await _loadFromAsset(); final jsonResponse = jsonDecode(jsonString); }