readTextFile function

String readTextFile(
  1. String file
)

Reads the contents of the text file file.

Implementation

String readTextFile(String file) => File(file).readAsStringSync();