DART -LESERATION

import 'dart:convert';
import 'dart:io';

void main(List<String> args) async {
  var myFile = File('myFile');
  // asynchronous
  List<String> linesAsync = await myFile.readAsLines();
  // synchronous
  List<String> linesSync = myFile.readAsLinesSync();
  // stream
  Stream<String> linesStream = myFile.openRead()
  									 .transform(utf8.decoder)
                                     .transform(LineSplitter());
}
Gorgeous Gerbil