The body of the response as a string. This is converted from bodyBytes
using the charset
parameter of the Content-Type
header field, if
available. If it's unavailable or if the encoding name is unknown,
LATIN1 is used by default, as per RFC 2616.
Source
String get body => _encodingForHeaders(headers).decode(bodyBytes);