fetchProfilesList function

Future<Map> fetchProfilesList(
  1. String basePath
)

Implementation

Future<Map> fetchProfilesList(String basePath) async{
  final profileListFileName = 'profilesList.json';
  final profilesList = await fetchJsonFile('$basePath/$profileListFileName');
  return profilesList;
}