getContent method
dynamic
getContent()
Get original content data. For a body set with contentBytes, the text of the bytes.
res.getContent();
Implementation
dynamic getContent() {
Uint8List? bytes = _textBytes;
if (bytes == null) return _contentData;
return _decoded ??= utf8.decode(bytes, allowMalformed: true);
}