serializeResponseBody method

String serializeResponseBody(
  1. Response response
)

Function used to get the serialized form of a valid response.

Can be overwritten to realize a custom serialization logic.

Implementation

String serializeResponseBody(Response response) => response.body;