toString method

  1. @override
String toString()
override

Returns a sting containing the file contents of plain text files. Please use it in a try {} catch (e) {} block if you are unsure if the opened file is plain text.

Implementation

@override
String toString() => const Utf8Codec().decode(_bytes);