propertyAsFileContentYAML method

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

Implementation

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