readAsString method

Future<String> readAsString()

Reads the object body as UTF-8 text.

Implementation

Future<String> readAsString() async => utf8.decode(await readAsBytes());