asString property

String get asString

Decodes the payload as UTF-8 text.

Implementation

String get asString => utf8.decode(data);