Future<Map<String, dynamic>> parseJsonFromAssets(String assetsPath) async { return rootBundle .loadString(assetsPath + '.json') .then((jsonStr) => jsonDecode(jsonStr)); }