prettyData property

String get prettyData

Provides a human-readable representation of the response data. If the data is a Map, it's formatted by prettyMap; otherwise, it's converted to a string.

Implementation

String get prettyData => data is Map<String, dynamic>
    ? prettyMap(data as Map<String, dynamic>)
    : data.toString();