text static method

Future<String> text(
  1. Uint8List compressed
)

Asynchronously decompresses a Uint8List that was compressed using Shrink.text and converts it back to a string in a separate isolate.

Returns a Future containing the original UTF-8 encoded string.

Implementation

static Future<String> text(Uint8List compressed) {
  return compute(_restoreTextIsolate, compressed);
}