shrink method
Compresses this JSON object to a compact binary representation.
This method first encodes the JSON object to a minified string,
then compresses that string using UTF-8 encoding and zlib compression.
For decompression, use Uint8List.restoreJson
or Restore.json.
Returns a Uint8List containing the compressed JSON data.
Implementation
Uint8List shrink() => utils.shrinkJson(this);