bodyEncoding property
getter/setter pair
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
Codec<List<int>, String>? bodyEncoding;