code: public Object getBodyAs(Type type) {
      if (response == null) {
        return null;
      }
      String body = response.getBody();
      if (TextUtils.isEmpty(body)) {
        return null;
      }
      try {
        return Wasp.getParser().fromBody(response.getBody(), type);
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
docs: HTTP response body parsed via provided {@code type}. {@code null} if there is no response
  or no body.
  
  @throws RuntimeException if unable to convert the body to the provided {@code type}.