body property

String get body

Lazily-decoded UTF-8 body. Safe on binary payloads (returns replacement chars), but callers that need bytes should use bodyBytes directly.

Implementation

String get body => utf8.decode(bodyBytes, allowMalformed: true);