bodyString property

String get bodyString

Returns the response body as a String provided the network call was successful, else this will be null.

Implementation

String get bodyString =>
    base is http.Response ? (base as http.Response).body : '';