bodyAsString property

String? get bodyAsString

Returns the body as String.

Implementation

String? get bodyAsString {
  var body = _body;
  return body != null && body.size > 0 ? body.asString : null;
}