Leia o arquivo JSON FLUTTER
Future<String>_loadFromAsset() async {
return await rootBundle.loadString("assets/quiz.json");
}
Future parseJson() async {
String jsonString = await _loadFromAsset();
final jsonResponse = jsonDecode(jsonString);
}
Cloudy Centipede