loadConfigFileFromYaml function
Load the configurations from the yaml file selected
Implementation
Config? loadConfigFileFromYaml(String prefixPath) {
if(prefixPath == 'nrfutil.yaml or pubspec.yaml'){
prefixPath = 'nrfutil.yaml';
}
final flutterLauncherIconsConfigs = Config.loadConfigFromPath(prefixPath) ?? Config.loadConfigFromPubSpec();
return flutterLauncherIconsConfigs;
}