optionAsFileContentString method

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

Implementation

String? optionAsFileContentString(String key, [File? def]) {
  var file = optionAsFile(key, def);
  return file?.readAsStringSync();
}