readAsString method

Future<String> readAsString({
  1. Encoding encoding = utf8,
})

Synchronously read the entire file contents as a string using the given Encoding.

By default, encoding is utf8.

Throws Exception if the operation fails.

Implementation

Future<String> readAsString({Encoding encoding = utf8}) {
  throw UnimplementedError('readAsString() has not been implemented.');
}