loadConfFromPath static method
Implementation
static Future<Config?> loadConfFromPath({String? file}) async {
var confFile = File(file ?? 'changelog.json');
if (!confFile.existsSync()) {
print("Config file ${file ?? 'changelog.json'} not exist");
return null;
}
var confContent = await confFile.readAsString();
return Config.fromJson(jsonDecode(confContent));
}