readAllAsString method
Reads all bytes and converts them to a string.
encoding
the encoding to use (defaults to UTF-8 via codeUnits)
Implementation
Future<String> readAllAsString() async {
List<int> bytes = await readAll();
return String.fromCharCodes(bytes);
}