readString function

Future<String> readString(
  1. File file, {
  2. Encoding encoding = utf8,
})

Read string content

Implementation

Future<String> readString(File file, {Encoding encoding = utf8}) =>
    file.readAsString(encoding: encoding);