getUserConfig function
Implementation
UserConfig getUserConfig({String? explicitPath, String? inputPath}) {
final config = findUserConfig(
explicitPath: explicitPath,
inputPath: inputPath,
);
if (config == null) {
throw Exception(
'Unable to find user config (localizable_user.json). Please provide a user key via '
'localizable_user.json, --user-config, --user-key, or LOCALIZABLE_USER_KEY env variable.',
);
}
return config;
}