readFile function

String readFile(
  1. String filePath
)

Implementation

String readFile(String filePath) {
  final File fileObj = File(filePath);
  return fileObj.readAsStringSync();
}