json static method

Future<Map<String, dynamic>> json(
  1. Uint8List compressed
)

Asynchronously decompresses a Uint8List that was compressed using Shrink.json and converts it back to a JSON object in a separate isolate.

Returns a Future containing the original Map<String, dynamic> JSON object.

Implementation

static Future<Map<String, dynamic>> json(Uint8List compressed) {
  return compute(_restoreJsonIsolate, compressed);
}