readLines function

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

Read string content as lines

Implementation

Future<List<String>> readLines(File file, {Encoding encoding = utf8}) =>
    fs.readLines(fs.wrapIoFile(file), encoding: encoding);