loadConfig function

Future<Map<String, dynamic>> loadConfig()

Implementation

Future<Map<String, dynamic>> loadConfig() async {
  String configString = await rootBundle.loadString('config.json');
  return json.decode(configString);
}