propertyAsFileContentString method

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

Implementation

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