bodyEncoding property

Codec<List<int>, String> bodyEncoding
final

Encoding to be used when storing the body of an http response in a json file.

Defaults to utf8 (inverted) if left unspecified.

If your server returns a response with a different encoding, consider using that encoding, or consider using base64 for wider compatibility (at the expense of non-human-readable json).

Implementation

final Codec<List<int>, String> bodyEncoding;