getAndCheckIfConfigFileExists method
Retrieves and parses the Eagle Eye configuration file.
When configPath is omitted, the default eagle_eye_config.json file is
loaded from the current directory.
Returns an EagleEyeConfig
Implementation
@override
Future<EagleEyeConfig> getAndCheckIfConfigFileExists({
String? configPath,
}) async {
final String configFileContent = await fileHelper
.getAndCheckIfConfigFileExists(configPath ?? configFileName);
return jsonConverter.convert(configFileContent);
}