parse method
Implementation
Map<String, dynamic>? parse(String fileName) {
final content = retrieveNearestContent(fileName);
if (content == null) {
return null;
}
final yaml = loadYaml(content);
if (yaml is! Map) {
return null;
}
return yaml.cast<String, dynamic>();
}