fetchJsonFile function
Implementation
Future<Map> fetchJsonFile(String path) async{
final response = await FileLoader().unknown(path);
if(response == null) throw("Error getting profileList.json.");
return jsonDecode(String.fromCharCodes(response.data));
}