read method

Future<String> read()

Reads and decodes the contents of this descriptor as a UTF-8 string.

This isn't supported for matcher descriptors.

Implementation

Future<String> read() => utf8.decodeStream(readAsBytes());