read static method

Future<String> read(
  1. String fileName
)

Return the contents of the specified file. Pass the name of the file.

Implementation

static Future<String> read(String fileName) async {
  final file = await get(fileName);
  return readFile(file);
}