optionAsFileContentYAML method

dynamic optionAsFileContentYAML(
  1. String key, [
  2. File? def
])

Implementation

dynamic optionAsFileContentYAML(String key, [File? def]) {
  var s = optionAsFileContentString(key, def);
  return s != null ? loadYaml(s) : null;
}