getText method

String getText(
  1. int start, [
  2. int? end
])

Returns the text of the file from start to end (exclusive).

If end isn't passed, it defaults to the end of the file.

Implementation

String getText(int start, [int? end]) =>
    String.fromCharCodes(_decodedChars.sublist(start, end));