getBodyAsString method
Gets the body as a string (UTF-8 decoded)
Implementation
String? getBodyAsString() {
if (body == null) return null;
return utf8.decode(body!);
}
Gets the body as a string (UTF-8 decoded)
String? getBodyAsString() {
if (body == null) return null;
return utf8.decode(body!);
}