argumentAsFileContentYAML method

dynamic argumentAsFileContentYAML(
  1. int index, [
  2. File? def
])

Implementation

dynamic argumentAsFileContentYAML(int index, [File? def]) {
  var s = argumentAsFileContentString(index, def);
  return s != null ? loadYaml(s) : null;
}