readFileString static method

Future<String> readFileString(
  1. String filename
)

Implementation

static Future<String> readFileString(String filename) async {
  final content = await readFileBytes(filename);

  return String.fromCharCodes(content);
}