jsonBodyAsync property

Future<Object?> jsonBodyAsync

Returns the json object decoded asynchronously from response body by calling RestResponse.jsonBody after converting the response to RestResponse.

Returns the Json object by parsing the response body string. The response is json decoded asynchronously in an isolate.

For small response body, try jsonBody.

Implementation

Future<Object?> get jsonBodyAsync {
  return _thenRest((restResponse) {
    return restResponse.jsonBodyAsync;
  });
}